diff --git a/frontend/src/app/services/auth.service.ts b/frontend/src/app/services/auth.service.ts index e00a1269..29701dd9 100644 --- a/frontend/src/app/services/auth.service.ts +++ b/frontend/src/app/services/auth.service.ts @@ -29,7 +29,7 @@ export class AuthService { console.log(resp) const authorizeUrl = new URL(resp.data) - authorizeUrl.searchParams.append('redirect_uri', window.location.href); + authorizeUrl.searchParams.append('redirect_uri', window.location.href); //only auth/signup and /auth/signin urls are allowed window.location.href = authorizeUrl.toString(); } }