Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unauthorized access #40

Open
ramkumarm-2000 opened this issue Jun 26, 2021 · 7 comments
Open

Unauthorized access #40

ramkumarm-2000 opened this issue Jun 26, 2021 · 7 comments

Comments

@ramkumarm-2000
Copy link

POST http://localhost:3001/rpc/login 401 (Unauthorized)

@Archenciel
Copy link

Had the same issue on the v2 branch.
Changing the token from an array to a single value seems to do the job for now.
Unsure whether this has any other consequences though.

image
file undere: \src\components\authentication\index.tsx

@kaank-gpu
Copy link

Have you managed to solve the rpc login error?

@Archenciel
Copy link

Well yes, i changed the above-mentioned file and it worked out for me. However, V2 is still WIP therefore I did not test ist thoroughly.

@kaank-gpu
Copy link

Have you got it working on V1 (master)? I'm getting a 'Cannot find module './config.local' or its corresponding type declarations. TS2307' error when npm starting the v2 version.

@ramkumarm-2000
Copy link
Author

ramkumarm-2000 commented Sep 9, 2021 via email

@Archenciel
Copy link

Have you got it working on V1 (master)? I'm getting a 'Cannot find module './config.local' or its corresponding type declarations. TS2307' error when npm starting the v2 version.

Havent tried the V2 for a while - perhaps there was some push that lead to this error.
As for V1 it seems to work great so far. Why is V1 not starting for you? The Unauthorized error only occured on v2 on my side.

@ramkumarm-2000
Copy link
Author

ramkumarm-2000 commented Sep 9, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants