forked from Github-Mirrors/canaille
9 lines
360 B
Python
9 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"]
|