<% case @application.app_type %>
<% when "oidc" %>
- OIDC
+ OIDC
<% when "forward_auth" %>
- Forward Auth
+ Forward Auth
<% end %>
-
Status
-
+
Status
+
<% if @application.active? %>
- Active
+ Active
<% else %>
- Inactive
+ Inactive
<% end %>
-
Landing URL
-
+
Landing URL
+
<% if @application.landing_url.present? %>
<%= link_to @application.landing_url, @application.landing_url, target: "_blank", rel: "noopener noreferrer", class: "text-blue-600 hover:text-blue-800 underline" %>
<% else %>
- Not configured
+ Not configured
<% end %>
@@ -99,59 +99,59 @@
<% if @application.oidc? %>
-
+
-
OIDC Configuration
+
OIDC Configuration
<%= button_to "Regenerate Credentials", regenerate_credentials_admin_application_path(@application), method: :post, data: { turbo_confirm: "This will invalidate the current credentials. Continue?" }, class: "text-sm text-red-600 hover:text-red-900" %>
-
Client Type
-
+
Client Type
+
<% if @application.public_client? %>
- Public
+ Public
<% else %>
- Confidential
+ Confidential
<% end %>
-
PKCE
-
+
PKCE
+
<% if @application.requires_pkce? %>
- Required
+ Required
<% else %>
- Optional
+ Optional
<% end %>
<% unless flash[:client_id] %>
-
Client ID
-
- <%= @application.client_id %>
+
Client ID
+
+ <%= @application.client_id %>
<% if @application.confidential_client? %>
-
Client Secret
-
-
+
Client Secret
+
+
🔒 Client secret is stored securely and cannot be displayed
-
+
To get a new client secret, use the "Regenerate Credentials" button above.
<% else %>
-
Client Secret
-
-
+
Client Secret
+
+
Public clients do not use a client secret. PKCE is required for authorization.
@@ -159,33 +159,33 @@
<% end %>
<% end %>
-
Redirect URIs
-
+
Redirect URIs
+
<% if @application.redirect_uris.present? %>
<% @application.parsed_redirect_uris.each do |uri| %>
- <%= uri %>
+ <%= uri %>
<% end %>
<% else %>
- No redirect URIs configured
+ No redirect URIs configured
<% end %>
-
+
Backchannel Logout URI
<% if @application.supports_backchannel_logout? %>
- Enabled
+ Enabled
<% end %>
-
+
<% if @application.backchannel_logout_uri.present? %>
- <%= @application.backchannel_logout_uri %>
-
+ <%= @application.backchannel_logout_uri %>
+
When users log out, Clinch will send logout notifications to this endpoint for immediate session termination.
<% else %>
- Not configured
-
+ Not configured
+
Backchannel logout is optional. Configure it if the application supports OpenID Connect Backchannel Logout.
<% end %>
@@ -198,23 +198,23 @@
<% if @application.forward_auth? %>
-
Example for <%= app.name %>: Add claims that this app specifically needs to read.
- Note: Do not use reserved claim names (groups, email, name, etc.). Use app-specific names like kavita_groups instead.
+ Note: Do not use reserved claim names (groups, email, name, etc.). Use app-specific names like kavita_groups instead.
<% if Rails.env.development? %>
Emails are being delivered using <%= email_delivery_method %> and will open in your browser.
@@ -44,63 +44,63 @@
-
+
-
Email
-
Status
-
Role
-
2FA
-
Groups
+
Email
+
Status
+
Role
+
2FA
+
Groups
Actions
-
+
<% @users.each do |user| %>
-
+
<%= user.email_address %>
-
+
<% if user.status.present? %>
<% case user.status.to_sym %>
<% when :active %>
- Active
+ Active
<% when :disabled %>
- Disabled
+ Disabled
<% when :pending_invitation %>
- Pending
+ Pending
<% end %>
<% else %>
- -
+ -
<% end %>
-
+
<% if user.admin? %>
- Admin
+ Admin
<% else %>
- User
+ User
<% end %>
-
+
<% if user.totp_enabled? %>
<% else %>
-
+
<% end %>
<% if user.totp_required? %>
- Required
+ Required
<% end %>
<%= @application.name %> is requesting access to your account.
-
This application will be able to:
+
This application will be able to:
<% if @scopes.include?("openid") %>
- Verify your identity
+ Verify your identity
<% end %>
<% if @scopes.include?("email") %>
@@ -32,7 +32,7 @@
- Access your email address (<%= Current.session.user.email_address %>)
+ Access your email address (<%= Current.session.user.email_address %>)
<% end %>
<% if @scopes.include?("profile") %>
@@ -40,7 +40,7 @@
- Access your profile information
+ Access your profile information
<% end %>
<% if @scopes.include?("groups") %>
@@ -48,18 +48,18 @@
- Access your group memberships
+ Access your group memberships
<% end %>