Skip to content

Commit

Permalink
#394: Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tuj committed Feb 29, 2024
1 parent b5783dd commit 2cae060
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/user/oidc-login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2cae060

Please sign in to comment.