Move to live.fic.srs.epita.fr
This commit is contained in:
parent
d9483ee98c
commit
f585d75a66
@ -1,7 +1,7 @@
|
|||||||
# The base path of Dex and the external name of the OpenID Connect service.
|
# 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
|
# 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.
|
# 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
|
# The storage configuration determines where dex stores its state. Supported
|
||||||
# options include SQL flavors and Kubernetes third party resources.
|
# options include SQL flavors and Kubernetes third party resources.
|
||||||
@ -35,7 +35,7 @@ oauth2:
|
|||||||
staticClients:
|
staticClients:
|
||||||
- id: epita-challenge
|
- id: epita-challenge
|
||||||
name: Challenge Forensic
|
name: Challenge Forensic
|
||||||
redirectURIs: ['https://fic.srs.epita.fr/challenge_access/auth']
|
redirectURIs: ['https://live.fic.srs.epita.fr/challenge_access/auth']
|
||||||
secret: N4n7AXzK9kpXt3TmSn8wAgtxqxhGORgcubLaE2g
|
secret: N4n7AXzK9kpXt3TmSn8wAgtxqxhGORgcubLaE2g
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ location /challenge_access {
|
|||||||
|
|
||||||
# If the user is not logged in, redirect them to Vouch's login URL
|
# If the user is not logged in, redirect them to Vouch's login URL
|
||||||
location @error401 {
|
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 {
|
location /auth {
|
||||||
|
Loading…
Reference in New Issue
Block a user