fix(console): jwt provider callback urls #11589 (#11966)

# Which Problems Are Solved
The console didn't specify any callback url's for the JWT idp provider.

# How the Problems Are Solved

Added callback url's to the JWT idp provider screen in the management
console.

# Additional Changes

# Additional Context

- Closes #11589
This commit is contained in:
Ramon
2026-04-09 21:24:57 +00:00
committed by GitHub
parent b558a1f79f
commit 8b5d7a751a
3 changed files with 17 additions and 0 deletions
@@ -28,6 +28,7 @@
[autofillLink]="autofillLink$ | async"
[activateLink]="activateLink$ | async"
[expanded]="!!(expandWhatNow$ | async)"
[copyUrls]="copyUrls$ | async"
(activate)="activate()"
></cnsl-provider-next>
@@ -68,6 +68,7 @@ export class ProviderJWTComponent {
this.service$,
);
public expandWhatNow$ = this.nextSvc.expandWhatNow(this.id$, this.activateLink$, this.justCreated$);
protected readonly copyUrls$ = this.nextSvc.jwtCallbackUrls();
constructor(
private authService: GrpcAuthService,
@@ -95,6 +95,21 @@ export class ProviderNextService {
);
}
jwtCallbackUrls(): Observable<CopyUrl[]> {
return this.env.env.pipe(
map((env) => [
{
label: 'Login V1 Callback URL',
url: `${env.issuer}/ui/login/idps/jwt`,
},
{
label: 'Login V2 Callback URL',
url: `${env.issuer}/idps/jwt`,
},
]),
);
}
expandWhatNow(
id$: Observable<string | null>,
activateLink$: Observable<string>,