{#if loading}

{$_('common.loading')}

{:else if error}

{$_('oauth.error.title')}

{error}
{:else if consentData}
{#if consentData.logo_uri} {/if}

{consentData.client_name || $_('oauth.consent.title')}

{$_('oauth.consent.appWantsAccess', { values: { app: '' } })}

{#if consentData.client_uri} {consentData.client_uri} {/if}
{$_('oauth.consent.signingInAs')} {consentData.did}

{$_('oauth.consent.permissionsRequested')}

{#each Object.entries(scopeGroups) as [category, scopes]}

{category}

{#each scopes as scope} {/each}
{/each}
{/if}