Drop omniauth for openid_connect gem

This commit is contained in:
Dan Milne
2025-11-09 20:53:20 +11:00
parent c9e2992fe0
commit ab5f83ab97
10 changed files with 168 additions and 112 deletions

View File

@@ -26,8 +26,9 @@
<% if @show_oidc_login && !@show_registration %>
<div class="my-6">
<%= link_to "Sign in with #{@oidc_provider_name}", "/auth/oidc",
class: "w-full block text-center rounded-md px-3.5 py-2.5 bg-indigo-600 hover:bg-indigo-500 text-white font-medium cursor-pointer" %>
<%= button_to "Sign in with #{@oidc_provider_name}", "/auth/oidc", method: :post,
data: { turbo: false },
class: "w-full block text-center rounded-md px-3.5 py-2.5 bg-indigo-600 hover:bg-indigo-500 text-white font-medium cursor-pointer border-0" %>
<div class="mt-4 text-center">
<span class="text-gray-500">or</span>