Does MSAL work only with azure and Microsoft identity platform?

728 views Asked by At

I'm looking for some client library that can handle OAuth requests and automatically utilize refresh tokens when access token expires to acquire new token. I found https://identitymodel.readthedocs.io/ that adds extensions to HttpClient but that's it. It leaves token management to you and you need to write a logic to refresh expired tokens and correctly handle timeouts etc.

I found an answer here that recommends using ADAL (now deprecated) and it apparently works with 3rd party apis.

TLDR: Does MSAL work only with Azure and Microsoft identity platform or it can be used with all kinds of APIs that use OAuth?

It looks like it always makes requests to https://login.microsoftonline.com and it doesn't seem to be possible to change endpoints for token etc.

1

There are 1 answers

0
Sri Hari Krishna Yalamanchili On BEST ANSWER

MSAL only works with Microsoft Identity Providers Such as Azure AD, B2C and ADFS.