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,832 of 198,088
Downloads: 513

Daily

Ranking: 17,969 of 198,053
Downloads: 13

Depended by

RankDownloadsName
194,539542kiosk-test-support

Depends on

RankDownloadsName
193,549637kiosk-core

Owners

#GravatarHandle
1iconpirj