Categories: None [Edit]

kiosk-user-idp-devise

https://rubygems.org/gems/kiosk-user-idp-devise
https://github.com/kiosk-hq/kiosk
kiosk-user-idp-devise is the opt-in user-IdP adapter for Rails providers that authenticate principals through Devise. Add it to your Gemfile explicitly — the kiosk-all meta-gem pulls in only kiosk-core and kiosk-server, so IdP adapters are chosen per provider. It reads the signed-in user from the request's Warden proxy (`request.env["warden"].user`) passed by kiosk-server and returns a {Kiosk::Identity} value object. Covers both Devise paths — `database_authenticatable` and `omniauthable` — since both populate the Warden user, so the adapter is agnostic to how the user logged in. Lockable / confirmable handling comes for free: Devise's `active_for_authentication?` already gates the Warden user, so a locked or unconfirmed user yields no signed-in user and the request fails as unauthenticated with no extra code. No hard runtime dependency on Devise itself — the adapter only reads the request's Warden user, so the provider's already-installed Devise satisfies the requirement.

Total

Ranking: 194,536 of 199,228
Downloads: 644

Daily

Ranking: 110,945 of 199,184
Downloads: 3

Depended by

RankDownloadsName
194,081692kiosk-test-support

Depends on

RankDownloadsName
193,275783kiosk-core

Owners

#GravatarHandle
1iconpirj