-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Authentication
Tim Vergenz edited this page May 26, 2017
·
7 revisions
You can (each is optional) provide 2 things:
- An
authenticate_with
block that will trigger your authentication logic before any action in RailsAdmin. - A
current_user_method
block that will yield a user model (for UI purposes)
If your application responds to a route helper named logout_path
then Rails Admin will add a "Log out" button to the top-right corner of your app. [Needs expansion: There's also a Devise integration but I don't know how Devise works. See #1386 for details.]
Popular authentication gems examples: