Move to live.fic.srs.epita.fr

This commit is contained in:
nemunaire 2024-03-23 13:55:02 +01:00
parent d9483ee98c
commit f585d75a66
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# The base path of Dex and the external name of the OpenID Connect service.
# This is the canonical URL that all clients MUST use to refer to Dex. If a
# path is provided, Dex's HTTP service will listen at a non-root URL.
issuer: https://fic.srs.epita.fr
issuer: https://live.fic.srs.epita.fr
# The storage configuration determines where dex stores its state. Supported
# options include SQL flavors and Kubernetes third party resources.
@ -35,7 +35,7 @@ oauth2:
staticClients:
- id: epita-challenge
name: Challenge Forensic
redirectURIs: ['https://fic.srs.epita.fr/challenge_access/auth']
redirectURIs: ['https://live.fic.srs.epita.fr/challenge_access/auth']
secret: N4n7AXzK9kpXt3TmSn8wAgtxqxhGORgcubLaE2g

View File

@ -21,7 +21,7 @@ location /challenge_access {
# If the user is not logged in, redirect them to Vouch's login URL
location @error401 {
return 302 https://fic.srs.epita.fr/challenge_access/login?url=https://fic.srs.epita.fr$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
return 302 https://live.fic.srs.epita.fr/challenge_access/login?url=https://live.fic.srs.epita.fr$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
}
location /auth {