MCAuthLib
MCAuthLib copied to clipboard
Fix credential-based microsoft authentication
- Microsoft adds multiple
Set-Cookieheaders in their response, which this change now respects. - Additionally, the used ClientID in the
oauth20_token.srf-Route is invalid and should be equal to the one from the login endpoint (otherwise the granted code is invalid due to different environments) - Removed the unused parameters from
MsAuthenticationService#getLoginResponseFromCreds(No need for deprecation as this method is private either way) Fixes #27