Include invalid oidc token in the error message for debugging
This commit is contained in:
parent
ed897c7cb0
commit
1d246784dd
3 changed files with 9 additions and 5 deletions
|
@ -26,7 +26,10 @@ def get_federated_service_name(authentication_type):
|
|||
return 'keystone'
|
||||
|
||||
if authentication_type == 'OIDC':
|
||||
return 'oidc'
|
||||
return None
|
||||
|
||||
if authentication_type == 'Database':
|
||||
return None
|
||||
|
||||
raise Exception('Unknown auth type: %s' % authentication_type)
|
||||
|
||||
|
|
Reference in a new issue