diff --git a/web/src/flows/stages/consent/ConsentStage.ts b/web/src/flows/stages/consent/ConsentStage.ts index 518b71245..2739daafa 100644 --- a/web/src/flows/stages/consent/ConsentStage.ts +++ b/web/src/flows/stages/consent/ConsentStage.ts @@ -37,13 +37,15 @@ export class ConsentStage extends BaseStage perm.name === "").length === perms.length; return html`${perms.map((permission) => { - let name = permission.name; - if (permission.name === "" && shouldShowId) { - name = permission.id; + if (permission.name === "") { + return html``; } - return html`
  • ${name}
  • `; + // Special case for openid Scope + if (permission.id === "openid") { + return html``; + } + return html`
  • ${permission.name}
  • `; })}`; }