tests: add check on behaviour of OICDClient's clean (#77452)
gitea/authentic/pipeline/head This commit looks good
Details
gitea/authentic/pipeline/head This commit looks good
Details
It was reported that POLICY_UUID and AUTHORIZATION_MODE_NONE were incompatible when redirect uris with different domains were used but it is not the case.
This commit is contained in:
parent
46b04a9102
commit
dc16868fb4
|
@ -1831,6 +1831,12 @@ def test_oidc_client_clean():
|
|||
identifier_policy=OIDCClient.POLICY_PAIRWISE,
|
||||
).clean()
|
||||
|
||||
OIDCClient(
|
||||
redirect_uris='https://example.com/ https://example2.com/',
|
||||
identifier_policy=OIDCClient.POLICY_UUID,
|
||||
authorization_mode=OIDCClient.AUTHORIZATION_MODE_NONE,
|
||||
).clean()
|
||||
|
||||
OIDCClient(
|
||||
redirect_uris='https://example.com/ https://example2.com/',
|
||||
sector_identifier_uri='https://example.com/',
|
||||
|
|
Loading…
Reference in New Issue