You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use this SDK for verifying the access_token on the resource server.
Describe the ideal solution
The PHP SDK has this solution auth0/auth0-PHP#428
I think we can do something similar here.
Alternatives and current workarounds
I am doing
class AccessTokenVerifier(TokenVerifier):
"""
Disgusting hack to get TokenVerifier to work. TokenVerifier is made for the id_token and auth0
does not give us an access_token verifier. Proper handling of azp differs across id_token and
access_token, hence requiring this hack where we force the azp to the app_identifier.
https://github.com/auth0/ruby-auth0/issues/363
"""
def _verify_payload(self, *args, **kwargs):
args[0]['azp'] = AUTH0_AUDIENCE
super()._verify_payload(*args, **kwargs)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe the problem you'd like to have solved
See the ask in #453
I want to use this SDK for verifying the access_token on the resource server.
Describe the ideal solution
The PHP SDK has this solution auth0/auth0-PHP#428
I think we can do something similar here.
Alternatives and current workarounds
I am doing
Additional context
No response
The text was updated successfully, but these errors were encountered: