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

cannot get a api-token #741

Open
jdkent opened this issue Mar 21, 2024 · 1 comment
Open

cannot get a api-token #741

jdkent opened this issue Mar 21, 2024 · 1 comment
Labels
blocked cannot work on this as there is a dependency frontend low-priority

Comments

@jdkent
Copy link
Member

jdkent commented Mar 21, 2024

and if the client sends the Origin header for code exchange request with POST /oauth/token call, Auth0, by default, prevents issuing tokens and throws this error.

Do not include the origin header when making a request.

https://community.auth0.com/t/the-offline-access-scope-was-requested-but-no-refresh-token-was-issued-error-message-after-deploying-spa/117730

@jdkent jdkent changed the title offline_token error cannot get a api-token Mar 21, 2024
@nicoalee nicoalee moved this from Todo to In Progress in Neurosynth 2.0 Project Map Jul 12, 2024
@nicoalee
Copy link
Collaborator

nicoalee commented Aug 6, 2024

The default setup doesn’t allow the use of non-rotating refresh tokens from browsers. If non-rotating refresh tokens must be used from the browsers, please open a support ticket with Auth0.

It doesn't look like it's possible to do this without getting personalized assistance from auth0. As this is not a high priority at the moment, I will put this on the backlog.

This will become more of a priority if the use case arises where users who have uploaded data to our platform actively want to programmatically retrieve that data.

@nicoalee nicoalee moved this from In Progress to Todo in Neurosynth 2.0 Project Map Aug 6, 2024
@nicoalee nicoalee added low-priority blocked cannot work on this as there is a dependency labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked cannot work on this as there is a dependency frontend low-priority
Projects
Development

No branches or pull requests

2 participants