Skip to content

Commit

Permalink
fix: scope sep azure (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
atymic authored Oct 7, 2021
1 parent c2ebc63 commit 9b23e02
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ class Provider extends AbstractProvider
*/
protected $graphUrl = 'https://graph.microsoft.com/v1.0/me';

/**
* {@inheritdoc}
*/
protected $scopeSeparator = ' ';

/**
* The scopes being requested.
*
Expand Down Expand Up @@ -83,14 +88,6 @@ protected function mapUserToObject(array $user)
]);
}

/**
* {@inheritdoc}
*/
public static function additionalConfigKeys()
{
return ['tenant', 'logout_url', 'proxy'];
}

/**
* Get the access token response for the given code.
*
Expand All @@ -116,4 +113,12 @@ protected function getBaseUrl(): string
{
return 'https://login.microsoftonline.com/'.$this->getConfig('tenant', 'common');
}

/**
* {@inheritdoc}
*/
public static function additionalConfigKeys()
{
return ['tenant', 'logout_url', 'proxy'];
}
}

0 comments on commit 9b23e02

Please sign in to comment.