Categories: None [Edit]
kiosk-user-idp-devise
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
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 194,539 | 542 | kiosk-test-support |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 193,549 | 637 | kiosk-core |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | pirj |