test(oidc): test OIDC login and refresh flow

- ensure Oxicloud s correctly functional with OIDC login
    - refresh token works
    - givenname, familyname, picture are imported in users' informations
    - test relogin (server is not using same path)
    - test email verified
    - test admin group provided from IdP
This commit is contained in:
Edouard Vanbelle
2026-06-28 22:40:06 +02:00
parent 324fcd486f
commit ada4b021bf
10 changed files with 2044 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
# Variables fed to Hurl for the OIDC integration tests.
# Mirror tests/api/test.env so the same admin-setup flow works on top
# of the OIDC-enabled server binary.
base_url=http://localhost:8087
username=admin
email=admin@example.com
# gitguardian:ignore
password=TestPassword1!
# Discovery / authorize endpoints exposed by tests/oidc/fake_idp.
# oidc-provider publishes authorize at /auth (not /authorize) by default.
oidc_issuer=http://localhost:1080
oidc_authorize_endpoint=http://localhost:1080/auth