Skip to content
Snippets Groups Projects
Commit ccceb397 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Redirect to original URL after OIDC Auth

parent 6cb4c5a3
No related branches found
No related tags found
No related merge requests found
Pipeline #257462 passed
...@@ -63,7 +63,7 @@ class OIDCAuthBackend(BaseAuthBackend): ...@@ -63,7 +63,7 @@ class OIDCAuthBackend(BaseAuthBackend):
request.session["oidc_state"] = { request.session["oidc_state"] = {
oidc_state: { oidc_state: {
"nonce": oidc_nonce, "nonce": oidc_nonce,
"next": "", "next": request.GET.get("next", None),
"generated_on": int(time.time()), "generated_on": int(time.time()),
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment