TheNetworg / oauth2-azure

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

return in sample code #196

Open kingma-sbw opened 11 months ago

kingma-sbw commented 11 months ago

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

S_SESSION['token'] = $token-> getToken();