Get code and token from Azure AD and store it to the DB

This commit is contained in:
Bilal
2020-08-12 13:52:22 +02:00
parent eb7f8f1a43
commit 0cc3b2bd62
9 changed files with 171 additions and 26 deletions

View File

@@ -139,9 +139,14 @@ gem 'rack-cors'
# Ruby wrappers for the HubSpot REST API
gem "hubspot-ruby"
# OAuth
gem 'omniauth-oauth2', '~> 1.6'
# OmniAuth CSRF protection
gem 'omniauth-rails_csrf_protection', '~> 0.1.2'
# authenticate via Microsoft
# gem 'omniauth-microsoft_graph', git: 'https://github.com/m4c3/omniauth-microsoft_graph'
gem 'omniauth-microsoft_graph'
# gem 'omniauth-microsoft_graph'
group :development, :test, :review do
# Call "byebug" anywhere in the code to stop execution and get a debugger console