Skip to content

Auth0 audience parameter is missing #176

@vladimir-chernenko

Description

@vladimir-chernenko

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

This bug report is available on Nuxt.js community (#c134)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions