The paylode of the accessToken is empty

Hello.
I’m new to Auth0 and I’m in trouble now.

Fronted: Nuxt3.12.4 / @auth0/auth0-vue v2.3.3
Backend: Laravel9.52.16 / auth0/login
Auth0 >> Applications >> Application Properties >> Application Type == Singe Page Application

The frontend seem to be working well.
After I login, “https://my-domain/oauth/token” is called to obtain an access_token.

However, I realized that the paylode of my access_token is empty.

What should I do to fix it?

I would be grateful if someone could kindly help me.
If more informations are needed, please let me know.

Hey there @t.fukao welcome to the community!

It looks like you are receiving an opaque token which happens when you fail to pass an audience in the authorize request - In your case, you can pass the audience param using the SDK:

1 Like

Hello @tyf.

By adding ‘audience’ param to the SDK, this issue has been resolved.
Thank you for your help!

1 Like

Awesome! Thanks for confirming :slight_smile:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.