feat(console): seo metatags, fix policy bugs, project options (#844)

* add seo service, index meta info

* fix policy buttons, refresh

* refresh after timeout

* loading spinner for login policy, complexity

* fix user form, add project role options

* authtoken options

* seo service lint

* style lint

* remove duplicate authmethod

* en i18n

* Update console/src/assets/i18n/en.json

Co-authored-by: Fabi <[email protected]>

Co-authored-by: Fabi <[email protected]>
This commit is contained in:
Max Peintner
2020-10-16 13:51:52 +02:00
committed by GitHub
co-authored by Fabi
parent c3b4c3f264
commit b1d61afc8f
30 changed files with 310 additions and 80 deletions
+7 -2
View File
@@ -975,10 +975,12 @@ export class ManagementService {
return this.grpcService.mgmt.createProject(req);
}
public UpdateProject(id: string, name: string): Promise<Project> {
public UpdateProject(id: string, projectView: ProjectView.AsObject): Promise<Project> {
const req = new ProjectUpdateRequest();
req.setName(name);
req.setId(id);
req.setName(projectView.name);
req.setProjectRoleAssertion(projectView.projectRoleAssertion);
req.setProjectRoleCheck(projectView.projectRoleCheck);
return this.grpcService.mgmt.updateProject(req);
}
@@ -1271,6 +1273,9 @@ export class ManagementService {
req.setGrantTypesList(oidcConfig.grantTypesList);
req.setApplicationType(oidcConfig.applicationType);
req.setDevMode(oidcConfig.devMode);
req.setAccessTokenType(oidcConfig.accessTokenType);
req.setAccessTokenRoleAssertion(oidcConfig.accessTokenRoleAssertion);
req.setIdTokenRoleAssertion(oidcConfig.idTokenRoleAssertion);
return this.grpcService.mgmt.updateApplicationOIDCConfig(req);
}
}