mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-29 07:28:52 +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"
|
[autofillLink]="autofillLink$ | async"
|
||||||
[activateLink]="activateLink$ | async"
|
[activateLink]="activateLink$ | async"
|
||||||
[expanded]="!!(expandWhatNow$ | async)"
|
[expanded]="!!(expandWhatNow$ | async)"
|
||||||
|
[copyUrls]="copyUrls$ | async"
|
||||||
(activate)="activate()"
|
(activate)="activate()"
|
||||||
></cnsl-provider-next>
|
></cnsl-provider-next>
|
||||||
|
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export class ProviderJWTComponent {
|
|||||||
this.service$,
|
this.service$,
|
||||||
);
|
);
|
||||||
public expandWhatNow$ = this.nextSvc.expandWhatNow(this.id$, this.activateLink$, this.justCreated$);
|
public expandWhatNow$ = this.nextSvc.expandWhatNow(this.id$, this.activateLink$, this.justCreated$);
|
||||||
|
protected readonly copyUrls$ = this.nextSvc.jwtCallbackUrls();
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private authService: GrpcAuthService,
|
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(
|
expandWhatNow(
|
||||||
id$: Observable<string | null>,
|
id$: Observable<string | null>,
|
||||||
activateLink$: Observable<string>,
|
activateLink$: Observable<string>,
|
||||||
|
|||||||
Reference in New Issue
Block a user