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

403 response for authenticated call to local dfx host #2

Closed
digitaldoggo opened this issue May 15, 2021 · 1 comment
Closed

403 response for authenticated call to local dfx host #2

digitaldoggo opened this issue May 15, 2021 · 1 comment

Comments

@digitaldoggo
Copy link

I was having some trouble with using @dfinity/auth-client when running with local dfx tool and then stumbled upon this repo. It seems I am having the same issue when running this example auth client implementation.

The following call fails with 403 response in this sample application:

const response = await actor.whoami();

Error:

Error: Server returned an error:
  Code: 403 (Forbidden)
  Body: Failed to authenticate request

I am wondering if there is something I am missing.

Any help is greatly appreciated :)

@digitaldoggo
Copy link
Author

Disregard. I think I might be asking about this in the wrong place. I believe the answer I was looking for is here:
https://forum.dfinity.org/t/dfinity-auth-client-403-response/3618

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

1 participant