Our great sponsors
-
Library: https://github.com/lcobucci/jwt
-
I'd recommend using a library - for Azure AD OAuth we've been using https://github.com/thephpleague/oauth2-client + https://github.com/thenetworg/oauth2-azure (see also https://oauth2-client.thephpleague.com/providers/thirdparty/ )
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
I'd recommend using a library - for Azure AD OAuth we've been using https://github.com/thephpleague/oauth2-client + https://github.com/thenetworg/oauth2-azure (see also https://oauth2-client.thephpleague.com/providers/thirdparty/ )
-
https://docs.microsoft.com/en-us/graph/tutorials/php?tabs=aad is a good resource. I also use. https://github.com/vgrem/phpSPO If your going to do it, might as well do it right.
Related posts
- Is this a good way to secure my REST API?
- Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)?
- Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)?
- Looking for PHP classes that will authenticate against existing OAuth or SAML IdP servers
- Mobile application using website's PHP OAuth