bjerkio/oidc-react

Acquire access token with a new scope

Oliver15-dev opened this issue · 1 comments

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.

Thank you for opening this issue! I am closing this as stale since it hasn't been updated for a while. Please open a new issue or let me know you still have this issue in a comment 👍