Skip to content

Commit

Permalink
Merge pull request #774 from dbrandenstein/oidc-redirect
Browse files Browse the repository at this point in the history
Dynamic OIDC redirect URI
  • Loading branch information
ChristianBeilschmidt authored Feb 6, 2025
2 parents 2f7ecf6 + 8328384 commit da1f5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/common/src/lib/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class LoginComponent implements OnInit, AfterViewInit, OnDestroy {

oidcLogin(): void {
this.formStatus$.next(FormStatus.Loading);
window.location.href = this.oidcUrl;
window.location.href = this.oidcUrl + '&redirect_url=' + window.location.href.replace(/\/signin$/, this.loginRedirect());
}

login(): void {
Expand Down

0 comments on commit da1f5fa

Please sign in to comment.