You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To programmatically access FastAPI the OAuth 2.0 client credential flow is used in order to get a token for making requests to the app. In line with the documentation (https://intility.github.io/fastapi-azure-auth/usage-and-faq/calling_your_apis_from_python
) the application should be called using the following scope: api://{settings.APP_CLIENT_ID}/.default. However when viewing both the swagger and redoc documentation it seems to indicate that the api://{settings.APP_CLIENT_ID}/user_impersonation scopes needs to be used. Is there any way that we can modify this behaviour?
The text was updated successfully, but these errors were encountered:
To programmatically access FastAPI the OAuth 2.0 client credential flow is used in order to get a token for making requests to the app. In line with the documentation (https://intility.github.io/fastapi-azure-auth/usage-and-faq/calling_your_apis_from_python
) the application should be called using the following scope:
api://{settings.APP_CLIENT_ID}/.default
. However when viewing both the swagger and redoc documentation it seems to indicate that theapi://{settings.APP_CLIENT_ID}/user_impersonation
scopes needs to be used. Is there any way that we can modify this behaviour?The text was updated successfully, but these errors were encountered: