mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-26 22:38:45 +00:00
fix: remove hard requirement of grant type auth code for device code apps + warnings for missing urls (#7429)
* fix: if device Code is selected Auth Code no longer a hard requirement * fix: create device code app without auth code as grant type * fix: don't show redirect uris in overview for devicecode app wizard * feat: reload component when oidc app is updated * fix: oidcapp is valid grantTypes cannot be empty * fix: auth code not mandatory if refresh token and device code combined
This commit is contained in:
@@ -77,6 +77,7 @@ export class AppDetailComponent implements OnInit, OnDestroy {
|
||||
public authMethods: RadioItemAuthType[] = [];
|
||||
private subscription?: Subscription;
|
||||
public projectId: string = '';
|
||||
public appId: string = '';
|
||||
public app?: App.AsObject;
|
||||
|
||||
public environmentMap$ = this.envSvc.env.pipe(
|
||||
@@ -252,6 +253,7 @@ export class AppDetailComponent implements OnInit, OnDestroy {
|
||||
|
||||
if (projectId && appId) {
|
||||
this.projectId = projectId;
|
||||
this.appId = appId;
|
||||
this.getData(projectId, appId);
|
||||
}
|
||||
}
|
||||
@@ -639,6 +641,9 @@ export class AppDetailComponent implements OnInit, OnDestroy {
|
||||
this.currentAuthMethod = this.authMethodFromPartialConfig(config);
|
||||
}
|
||||
this.toast.showInfo('APP.TOAST.OIDCUPDATED', true);
|
||||
setTimeout(() => {
|
||||
this.getData(this.projectId, this.appId);
|
||||
}, 1000);
|
||||
})
|
||||
.catch((error) => {
|
||||
this.toast.showError(error);
|
||||
|
||||
Reference in New Issue
Block a user