danestves / remix-auth-auth0

An Auth0Strategy for Remix Auth, based on the OAuth2Strategy
MIT License
120 stars 22 forks source link

feat: Expose Auth0's `org_name` parameter as `profile.organizationName` #99

Closed mauscoelho closed 1 year ago

mauscoelho commented 1 year ago

Following the PR #91

Auth0's Organizations feature, if a client is using them and Organization Names are enabled. Auth0 will expose an org_name parameter in the ID token as described here

This information is, of course, available under the profile._json parameter. However, this exposes it as an official, supported parameter so callers of this library don't have to use the internal _json property, which could change between minor versions.

danestves commented 1 year ago

Currently seeing this, at night will merge and release a new version!

danestves commented 1 year ago

Released on v1.8.0

danestves commented 1 year ago

Bumped to v1.8.1 due to an error with the files that not being uploaded on npm