We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9275c97 + f9d635c commit 0d28aaaCopy full SHA for 0d28aaa
src/Provider/Azure.php
@@ -281,7 +281,7 @@ public function validateAccessToken($accessToken)
281
* @return void
282
*/
283
public function validateTokenClaims($tokenClaims) {
284
- if ($this->getClientId() != $tokenClaims['aud'] && $this->getClientId() != $tokenClaims['appid']) {
+ if ($this->getClientId() != $tokenClaims['aud']) {
285
throw new \RuntimeException('The client_id / audience is invalid!');
286
}
287
if ($tokenClaims['nbf'] > time() || $tokenClaims['exp'] < time()) {
0 commit comments