forked from Github-Mirrors/canaille
8 lines
360 B
Python
8 lines
360 B
Python
def test_oauth_authorization_server(testclient):
|
|
res = testclient.get("/.well-known/oauth-authorization-server", status=200).json
|
|
assert "https://mydomain.tld" == res["issuer"]
|
|
|
|
|
|
def test_openid_configuration(testclient):
|
|
res = testclient.get("/.well-known/openid-configuration", status=200).json
|
|
assert "https://mydomain.tld" == res["issuer"]
|