-
Notifications
You must be signed in to change notification settings - Fork 927
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
Auth0 audience
parameter is missing
#176
Comments
I am experiencing the same problem. Also I think for auth0, the client_id parameter has to be named client |
When I've tried to extend
The error:
|
Tried this as well and the problem is, that the module cleans up the files and copies only the schemes that are needed. So when using the new auth0Scheme, the oauth2Scheme ist not copied anymore. After adding a strategy that uses oauth2 to the list of strategies ( like github: { }) in nuxt.config.js, it worked. after that i got an error, that the parseQuery method could not be found, so i included the imports from the oauth2scheme into the auth0scheme as well: |
Reproduction link
https://auth0.com/docs/api-auth/tutorials/client-credentials#ask-for-a-token
Steps to reproduce
Hi, I'm using this module for authorization to my django rest api. At the beginning I was getting back strange short
Bearer
token without API access.Then I understood that the
audience
parameter is missing on login redirect.https://github.com/nuxt-community/auth-module/blob/dev/lib/schemes/oauth2.js#L47
What is expected ?
May be options should be updatable?
Or how I can extend auth module to custom login function?
What is actually happening?
Unauthorised access to API
The text was updated successfully, but these errors were encountered: