From 2cae06097e7a8e1be664c9f9a045d52c0bdcfa64 Mon Sep 17 00:00:00 2001 From: Troels Ugilt Jensen <6103205+tuj@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:58:59 +0100 Subject: [PATCH] #394: Added comment --- src/components/user/oidc-login.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/user/oidc-login.jsx b/src/components/user/oidc-login.jsx index 2c91aead..873068cd 100644 --- a/src/components/user/oidc-login.jsx +++ b/src/components/user/oidc-login.jsx @@ -52,6 +52,11 @@ function OIDCLogin({ config }) { } } + /** + * Get oidc urls when chosen oidc provider is clicked. After redirecting to + * the url, a session is set in the API. Therefore, only one + * "v1/authentication/oidc/urls" session can be active at a time. + */ const onClick = () => { ConfigLoader.loadConfig().then((siteConfig) => { fetch(