Enable support in OIDC for endpoints without user info support

The user info endpoint is apparently optional.
This commit is contained in:
Joseph Schorr 2017-07-21 15:56:46 -04:00
parent 9676d7d8c7
commit 751598056e
3 changed files with 100 additions and 100 deletions

View file

@ -27,7 +27,7 @@ def test_validate_oidc_login(app):
def handler(_, __):
url_hit[0] = True
data = {
'userinfo_endpoint': 'foobar',
'token_endpoint': 'foobar',
}
return {'status_code': 200, 'content': json.dumps(data)}