juhanakristian / remix-auth-microsoft

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

Added all the Microsoft Graph scopes #18

Open harbar20 opened 1 year ago

harbar20 commented 1 year ago

I wanted to be able to use this library for all the scopes that Microsoft offers, not just the OpenID ones, so I added them.

All I did was add the scopes to a giant object, parsed them into a type to replace the MicrosoftScopes object that was there before, then changed the URL that the fetch request gets made to to include Microsoft Graph, not just the OpenID scopes.

Let me know if I missed anything. I'm almost certain that I did, as I didn't change MicrosoftProfile at all, and didn't touch a lot of other things either.