juhanakristian / remix-auth-microsoft

Microsoft authentication strategy for remix-auth
MIT License
37 stars 19 forks source link

Draft: Add extra call signature to `userProfile` method #29

Closed mnemitz closed 4 months ago

mnemitz commented 4 months ago

The MicrosoftStrategy class overrides the userProfile method of the OAuth2Strategy class in such a way that the extraParams argument is ignored.

While this argument is not used in this implementation, removing it means that any subclasses of MicrosoftStrategy won't be able to leverage this second argument, which may be necessary in cases where the id_token needs to be read.