next-auth
d1b99170 - Exposing params in the getProfile call

Commit
7 years ago
Exposing params in the getProfile call passport-oauth2 calls back with extra parameters if specified - this is based on the number of arguments passed to the callback function when defining the strategy (https://github.com/jaredhanson/passport-oauth2/blob/master/lib/strategy.js). This change exposes that extra parameter. This is useful if users want to store id_token for instance which is available in the _params object.
Author
Parents
Loading