auth0 / omniauth-auth0

OmniAuth strategy to login with Auth0
MIT License
125 stars 67 forks source link

the auth object does not provides the permissions data and the aud is the client id instead of the audience #190

Closed michelson closed 11 months ago

michelson commented 11 months ago

Checklist

Description

Hi there, first of all thanks for this library. I'm integrating the auth in some application and is all working ok, but there is some information that is returned is not the same as when for instance I authenticate via react library.

The difference is in the structure of the data

  1. the permission attribute does not exists
  2. the aud attribute return the client_id and not the audience

those attributes are returned correctly on the react library. why is that difference?

Reproduction

log in, inspect the auth, the aud is client_id, no permissions

Additional context

No response

omniauth-auth0 version

3.1.1

OmniAuth version

2.1.1

Ruby version

3.2.2

michelson commented 11 months ago

solved this setting authorize_params