Rails Authentication

Ruby gem for authentication in a rails app

Creating a new Rails app

  1. Use Repository Dashboard to create a new repository with the rails-template.
  2. Navigate to the repo folder in a terminal and execute rails g strongmind:install
  3. Move app root to authenticated root in routes. Should look like this: ruby authenticated :user do root to: 'home#index' # or whatever makes sense for your app end
  4. Create a new client in identity server and IDENTITY_CLIENT_ID and IDENTITY_CLIENT_SECRET values to .env file.
  5. Execute rails dev:cache to turn on caching in development.
  6. Execute bin/dev