oauth2-azure icon indicating copy to clipboard operation
oauth2-azure copied to clipboard

Azure AD provider for the OAuth 2.0 Client.

Results 73 oauth2-azure issues
Sort by recently updated
recently updated
newest added

Fix: Exception when token was expired

Fatal error: Uncaught TypeError: TheNetworg\OAuth2\Client\Provider\Azure::getDefaultScopes(): Return value must be of type array, string returned in /.../vendor/thenetworg/oauth2-azure/src/Provider/Azure.php:499 when calling `$provider->getAuthorizationUrl();`

I get an exception when using a token. This is how I save the token after succesfull logon: ```php $token = $provider->getAccessToken( 'authorization_code', [ 'code' => $_GET[ 'code' ], ]...

Hi, The plugin doesn't work with Azure AD B2C The Azure B2C url is : https://YOURTENANT.b2clogin.com/YOURTENANT.onmicrosoft.com//v2.0/.well-known/openid-configuration but it's hardcoded to https://login.microsoftonline.com/ which allow to only Azure AD and not B2C....

As the sample code is not in a function the line `return $token->getToken()` has no effect. Shouldn't this be something like ```php S_SESSION['token'] = $token-> getToken(); ```

Hi, i have some issue with getting access token. I think i've uploaded correct certificate and using private key from that cert. someone having same issue? currently I'm using 2.2.1...

In the README there is a code section tgat seems to be missing a `function`.

https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/azure-ad-change-management-simplified/ba-p/2967456 https://learn.microsoft.com/en-us/graph/migrate-azure-ad-graph-overview Please remove the use of Azure Graph and force the use of the Microsoft graph, which you added as an option.

Greetings, I'm new to Azure and I need to implement a login flow using Azure AD for an application where the frontend retrieve the code and the backend have to...

From the code it appears that only these domains need to be reachable over https - is that correct? 1. https://login.microsoftonline.com/ 2. https://graph.windows.net/ Or am I missing something? Thank you!