-
Notifications
You must be signed in to change notification settings - Fork 92
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
Custom Claims? #64
Comments
Anything additional needed in the user profile data that's returned needs to be added as a custom claim. |
I didn't want to create a new issue for this question as this seems to be somewhat similar. If not let me know and I'll create one. I'm in the middle of moving away from the JS SDK for Auth0 to using Passport. In the JS SDK custom params can be passed with |
@aasili-shoprunner - Just to clarify ... you're you moving from auth/node-auth0 to Passport? If you're not already using Passport and you are still in development mode on your application, you might want to consider auth0/express-openid-connect. That's just about to go into Early Access, meaning the public API is mostly stable and we'll be accepting feedback about usability, extensibility, and the like. Just a heads up! To answer your question ... |
@joshcanhelp No i'm migrating from |
At the moment, this strategy does not allow arbitrary URL parameters to be sent to the hosted login page. You can see the parameters that are passed through here: https://github.com/auth0/passport-auth0/blob/master/lib/index.js#L81-L99 If this is a blocker, go ahead and add a new issue in this repo and we'll consider it for a future release. |
Thanks! It's not a blocker as I can work around it. However do you know why the two libraries differ in this aspect? |
I don't think there is a specific reason one way or the other. |
I'm using Auth0 - Authorization extension and I have configured groups and roles for my application.
After adding users to those groups, I'm not able to access them after authorization. The rule sets groups and roles to user metadata correctly.
Relevant piece of code is here:
The text was updated successfully, but these errors were encountered: