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

Acquire access token with a new scope #1047

Open
Oliver15-dev opened this issue Jan 15, 2024 · 0 comments
Open

Acquire access token with a new scope #1047

Oliver15-dev opened this issue Jan 15, 2024 · 0 comments

Comments

@Oliver15-dev
Copy link

Hey all,

I'm trying to access my API that is protected by azure using the access token I received after a successful log using oidc-react. It looks like the issue I'm facing is that the scope of the access token does not contain the guide of my azure app. How do I request a new access token with the API included in the scope? I have tried including the API in the scope property of AuthProviderProps but I get a 401 unauthorized error.

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