diff --git a/Web/src/app/app.ts b/Web/src/app/app.ts index 163d5b3..f984c32 100644 --- a/Web/src/app/app.ts +++ b/Web/src/app/app.ts @@ -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',