Authentication

Tim Vergenz edited this page May 26, 2017 · 7 revisions

You can (each is optional) provide 2 things:

  1. An authenticate_with block that will trigger your authentication logic before any action in RailsAdmin.
  2. 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:

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.