-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Code
'myVeryFancyAuth' => array(
'authoauth2:OpenIDConnect',
// *** Required for all integrations ***
'issuer' => 'https://issuer.something.i.know',
'clientId' => 'myClientID',
'clientSecret' => 'VerySecret',
'scopes' => [ 'openid' ],
// Most Optional settings for OAuth2 above can be used
// *** New Optional ***
// Customize post logout redirect, if you don't want to use the standard /module.php/authoauth2/loggedout.php
#'postLogoutRedirectUri' => 'https://myapp.example.com/loggedout'
),
Results in SimpleSAMLphp error:
SimpleSAML\Error\AuthSource: Error with authentication source 'myVeryFancyAuth': Authentication failed: [invalid_scope] The requested scope is invalid, unknown, or malformed. The OAuth 2.0 Client is not allowed to request scope 'profile'.
Backtrace:
5 modules/authoauth2/lib/OAuth2ResponseHandler.php:127 (SimpleSAML\Module\authoauth2\OAuth2ResponseHandler::handleErrorResponse)
4 modules/authoauth2/lib/OAuth2ResponseHandler.php:86 (SimpleSAML\Module\authoauth2\OAuth2ResponseHandler::handleResponseFromRequest)
3 modules/authoauth2/lib/OAuth2ResponseHandler.php:55 (SimpleSAML\Module\authoauth2\OAuth2ResponseHandler::handleResponse)
2 modules/authoauth2/www/linkback.php:5 (require)
1 lib/SimpleSAML/Module.php:266 (SimpleSAML\Module::process)
0 www/module.php:10 (N/A)
Metadata
Metadata
Assignees
Labels
No labels