-
Notifications
You must be signed in to change notification settings - Fork 168
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
[SDK-3860] Add support for private_key_jwt #456
Conversation
@@ -37,26 +35,22 @@ def email( | |||
send (str, optional): Can be: 'link' or 'code'. Defaults to 'link'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The client_id
arg remains in L33.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thanks 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
auth0/v3/authentication/users.py
Outdated
@@ -1,9 +1,33 @@ | |||
import warnings | |||
|
|||
from auth0.v3.rest import RestClient, RestClientOptions | |||
|
|||
from .base import AuthenticationBase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still being used here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, good point 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Rita Zerrizuela <[email protected]>
Changes
client_id
andclient_secret
in the constructor (breaking change: note the base)client_assertion_signing_key
andclient_assertion_signing_alg
to authenticate to an application configured withprivate_key_jwt
using theclient_assertion
field in place of theclient_secret
field.References
Please include relevant links supporting this change such as a:
Testing
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Checklist