jwt icon indicating copy to clipboard operation
jwt copied to clipboard

Externally generated jwt

Open magick93 opened this issue 7 years ago • 3 comments

Hello

Does this module support the use (validation, auth) of tokens that are generated by external, 3rd party auth providers?

Thanks

magick93 avatar Jan 30 '18 01:01 magick93

Yes, you'll have to implement a custom event subscriber though

gabesullice avatar Jan 30 '18 17:01 gabesullice

also interested in this approach, im curious on how do you implement custom event subscriber @gabesullice , can you please give us clear example how to do that? Appreciate your response.

johnreytanquinco avatar Feb 05 '18 01:02 johnreytanquinco

Does this line mean it will only work with Drupal generated jwt? https://github.com/gabesullice/jwt/blob/8.x-0.x/modules/jwt_auth_consumer/src/EventSubscriber/JwtAuthConsumerSubscriber.php#L58

magick93 avatar Feb 20 '18 09:02 magick93