feathersjs-ecosystem / authentication-oauth2

[MOVED] OAuth 2 plugin for feathers-authentication
https://github.com/feathersjs/feathers
MIT License
26 stars 15 forks source link

JWT sub is always 'anonymous' after using verifier #82

Closed murbanowicz closed 6 years ago

murbanowicz commented 6 years ago

I am using my customer verifier and if successful I cam calling done

done(null, saved);

where saved is the user from DB which as email field.

Even with that, JWT sub is always anonymouis

daffl commented 6 years ago

Answered in https://stackoverflow.com/questions/45974114/how-can-i-set-the-sub-claim-of-a-jwt-in-feathersjs