fixing redirect_uri parametr.

This commit is contained in:
Jason Kulatunga 2022-10-30 16:36:36 -07:00
parent 9bdc323c01
commit 6e6e050f85
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export class AuthService {
console.log(resp) console.log(resp)
const authorizeUrl = new URL(resp.data) 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(); window.location.href = authorizeUrl.toString();
} }
} }