Skip to content

Commit 41c62a9

Browse files
authored
Merge pull request #872 from ExtensionEngine/fix/oidc-client-url
OIDC: Return href instead URL object
2 parents d0ac1af + e263151 commit 41c62a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/OidcClient.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ class OidcClient {
1414
get silentUrl() {
1515
const url = new URL(this.baseUrl, window.location.href);
1616
url.searchParams.set('silent', true);
17-
return url;
17+
return url.href;
1818
}
1919

2020
get resignUrl() {
2121
const url = new URL(this.baseUrl, window.location.href);
2222
url.searchParams.set('resign', true);
23-
return url;
23+
return url.href;
2424
}
2525

2626
get logoutUrl() {
2727
const url = new URL(this.baseUrl, window.location.href);
2828
url.searchParams.set('action', 'logout');
29-
return url;
29+
return url.href;
3030
}
3131

3232
authenticate() {

0 commit comments

Comments
 (0)