Merge branch 'main' of ssh://git.booko.info:2222/Baffle-WAF/baffle-hub

This commit is contained in:
Dan Milne
2025-11-09 20:58:18 +11:00
9 changed files with 167 additions and 111 deletions

View File

@@ -4,9 +4,9 @@ Rails.application.routes.draw do
resource :session
resource :password
# OIDC authentication routes
get "/auth/failure", to: "omniauth_callbacks#failure"
get "/auth/:provider/callback", to: "omniauth_callbacks#oidc"
# OIDC authentication routes (explicit, no middleware)
post "/auth/oidc", to: "oidc_auth#authorize"
get "/auth/oidc/callback", to: "oidc_auth#callback"
# Admin user management (admin only)
resources :users, only: [:index, :show, :edit, :update]