mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
# 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:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user