oauth2-azure
oauth2-azure copied to clipboard
Azure AD provider for the OAuth 2.0 Client.
I fetched the code and copied the example with no change. I authenticate using O365 and then I get my personal information just fine. When refeshing the page I get...
Hi, sorry to bother again. After successful tests to get graph objects based on authorization code grant, I'm now trying to do it with client_credentials. I'm able to get the...
Changed ResourceOwner related functions in Azure Provider to remove the need for injecting the Provider into the AccessToken, and removes the need for a custom AccessToken. This does introduce a...
Hi, i'm trying to get photo from microsoft graph, and need microsoftgraph accessToken .. Here is the code that I'm using: ``` $headers = $request->header('Authorization'); $provider = new Azure($this->userConfig); $authorization...
v2.0.0
List of features to be added into v2.0.0 version. - [x] Make use of _https://login.microsoftonline.com/TENANT/.well-known/openid-configuration_ endpoint - [ ] Implement caching of the configuration settings. - Default directory is going...
The sample code in readme contains the following snippet. $token = $provider->getAccessToken('authorization_code', [ 'code' => $_GET['code'], 'resource' => 'https://graph.windows.net', ]); The `resource` field is never applied as it is overwritten...
Hi, I recently needed to authenticate with Azure AD from PHP, using a client certificate. It is using the proposed standard described here: https://tools.ietf.org/html/rfc7521 which basically is signing a JWT...
I am attempting to authenticate a Dynamics 365 Web API endpoint via your AzureAD library and am running into issues. I believe it is because the Resource ID is not...
Opened a similar issue on the League's Oauth Client.. I'm seeing an issue with the GrantFactory. Not sure if its the GrantFactory that's not functioning or if its the call...
Is there any harm adding `getEmail` as an alias of the `upn` claim? Almost every oauth client packages implements `getEmail` so it would be useful to just have that available.