mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-22 21:08:47 +00:00
feat: allow skip of success page for native apps (#5627)
add possibility to return to callback directly after login without rendering the successful login page
This commit is contained in:
@@ -331,11 +331,24 @@
|
||||
</div>
|
||||
</cnsl-info-section>
|
||||
|
||||
<mat-checkbox
|
||||
*ngIf="skipNativeAppSuccessPage && appType?.value === OIDCAppType.OIDC_APP_TYPE_NATIVE"
|
||||
class="full-width"
|
||||
style="margin-top: 1.5rem"
|
||||
[formControl]="skipNativeAppSuccessPage"
|
||||
color="primary"
|
||||
>
|
||||
{{ 'APP.OIDC.SKIPNATIVEAPPSUCCESSPAGE' | translate }}</mat-checkbox
|
||||
>
|
||||
<cnsl-info-section *ngIf="appType?.value === OIDCAppType.OIDC_APP_TYPE_NATIVE" class="full-width app-desc">
|
||||
<span>{{ 'APP.OIDC.SKIPNATIVEAPPSUCCESSPAGE_DESCRIPTION' | translate }}</span>
|
||||
</cnsl-info-section>
|
||||
|
||||
<cnsl-redirect-uris
|
||||
*ngIf="appType?.value !== undefined"
|
||||
class="redirect-section"
|
||||
[disabled]="!canWrite"
|
||||
[devMode]="devMode?.value"
|
||||
[devMode]="!!devMode?.value"
|
||||
[(ngModel)]="redirectUrisList"
|
||||
title="{{ 'APP.OIDC.REDIRECT' | translate }}"
|
||||
[isNative]="appType?.value === OIDCAppType.OIDC_APP_TYPE_NATIVE"
|
||||
@@ -346,7 +359,7 @@
|
||||
*ngIf="appType?.value !== undefined"
|
||||
class="redirect-section"
|
||||
[disabled]="!canWrite"
|
||||
[devMode]="devMode?.value"
|
||||
[devMode]="!!devMode?.value"
|
||||
[(ngModel)]="postLogoutRedirectUrisList"
|
||||
title="{{ 'APP.OIDC.POSTLOGOUTREDIRECT' | translate }}"
|
||||
[isNative]="appType?.value === OIDCAppType.OIDC_APP_TYPE_NATIVE"
|
||||
|
||||
Reference in New Issue
Block a user