This project goal is to help integrating Auth0 capabilities in your Ruby on Rails application.
You can learn more about the seed project and samples in the Auth0 Rails quickstart.
Learn how to setup your application integrating Auth0 libraries and tools.
Learn how to add login capabilities to your Rails application using the Auth0 Lock widget and the OmniAuth authentication system.
Learn how to add login and signup capabilities to your Rails application using the Auth0 Ruby SDK.
Learn how to store session data and cleanup the session on logout.
Learn how to retrieve an Auth0 user’s profile in a Rails application using OmniAuth.
Learn how to link/unlink different Auth0 users accounts using Lock, OmniAuth, and the Auth0 Ruby SDK.
Learn how to add Authorization based on the user role for a resource in your Rails app.
Learn how to add Multifactor Authentication to your Auth0 authentication flow in a Rails app.
Learn how to customize the Lock widget to match the look and feel of your app.
- If you receive the following error, on Mac:
An error occurred while installing pg (0.19.0), and Bundler cannot continue.
Make sure that `gem install pg -v '0.19.0'` succeeds before bundling.
Try running the following commands:
brew update
brew install postgresql
gem install pg
- Then go back to the project and run:
bundle install
- If you receive the following error, on Mac:
An error occurred while installing nokogiri (1.7.0.1), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.7.0.1'` succeeds before bundling.
Simply run:
gem install nokogiri -- --use-system-libraries=true --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2/
More info, here.