We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b259e9 commit 9a24c9aCopy full SHA for 9a24c9a
src/packages/core/auth/auth.context.ts
@@ -258,10 +258,10 @@ export class UmbAuthContext extends UmbContextBase<UmbAuthContext> {
258
}
259
260
getRedirectUrl() {
261
- return `${window.location.origin}${this.#backofficePath}oauth_complete`;
+ return `${window.location.origin}${this.#backofficePath}${this.#backofficePath.endsWith('/') ? '' : '/'}oauth_complete`;
262
263
264
getPostLogoutRedirectUrl() {
265
- return `${window.location.origin}${this.#backofficePath.endsWith('/') ? this.#backofficePath : this.#backofficePath + '/'}logout`;
+ return `${window.location.origin}${this.#backofficePath}${this.#backofficePath.endsWith('/') ? '' : '/'}logout`;
266
267
0 commit comments