gem 'knock', '~> 2.1'
Add the following lines to your base code
class SecuredResourceController < ApplicationController before_action :authenticate_user def index # etc... end # etc... end
Auth0 is the easiest way for developers to integrate enterprise-grade authentication and identity management to any app.
SOC 2, HIPAA/BAA, EU/US Privacy Shield Framework, Open ID Certified.Learn More
Continuously reviewed and tested by external security experts. Strong password encryption and hashing algorithms, at rest and in transit.Learn More