TheNetworg / oauth2-azure

Azure AD provider for the OAuth 2.0 Client.
https://packagist.org/packages/thenetworg/oauth2-azure
MIT License
230 stars 108 forks source link

response_mode form_post #117

Closed MatthewDVance closed 4 years ago

MatthewDVance commented 4 years ago

Maybe I'm missing something obvious. But how do I switch from using reponse_mode query to reponse_mode form_post?

MatthewDVance commented 4 years ago

nevermind! figured it out! $authorizationUrl = $provider->getAuthorizationUrl([ 'scope' => $provider->scope, 'response_mode' => 'form_post' ]);