comfycamp/lib/comfycamp_web/controllers/oidc_app_html/show.html.heex

20 lines
641 B
Text

<div>
<.header>
OpenID app "<%= @oidc_app.name %>"
<:subtitle>This is a oidc_app record from your database.</:subtitle>
<:actions>
<.link href={~p"/admin/oidc_apps/#{@oidc_app}/edit"}>
<.button>Edit OpenID app</.button>
</.link>
</:actions>
</.header>
<.list>
<:item title="Name"><%= @oidc_app.name %></:item>
<:item title="Client ID"><%= @oidc_app.client_id %></:item>
<:item title="Client secret"><%= @oidc_app.client_secret %></:item>
<:item title="Enabled"><%= @oidc_app.enabled %></:item>
</.list>
<.back navigate={~p"/admin/oidc_apps"}>Back to OpenID apps</.back>
</div>