Skip to content
Snippets Groups Projects
Commit c7126447 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

bugfix: fixing linting

parent 7f3d3095
No related branches found
No related tags found
2 merge requests!71Bugfix/investigating the token corruption,!68bugfix: arbitrarily removes the error params in login redirect url
Pipeline #11989 passed
......@@ -29,13 +29,13 @@ class SIBAuthProvider extends HTMLElement {
* Start login procedure
*/
async login() {
const redirectUrl = new URL(window.location.href);
redirectUrl.searchParams.delete('error');
const redirectUri = (new URL(window.location.href));
redirectUri.searchParams.delete('error');
await login({
oidcIssuer: this.dataset.authority,
clientName: this.dataset.clientName,
redirectUrl: redirectUrl,
redirectUrl: redirectUri,
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment