fix: update redirectUri to use window.location.origin for dynamic URL handling #5
This commit is contained in:
@@ -19,7 +19,7 @@ export class App implements OnInit {
|
||||
constructor(private readonly as: OAuthService, private readonly router: Router) {
|
||||
this.as.configure({
|
||||
issuer: 'https://identity.lesko.me',
|
||||
redirectUri: 'http://localhost:4200/login',
|
||||
redirectUri: window.location.origin + '/login',
|
||||
clientId: '21131567-fea1-42a2-8907-21abd874eff8',
|
||||
scope: 'openid profile email',
|
||||
responseType: 'code',
|
||||
|
||||
Reference in New Issue
Block a user