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

@@ -0,0 +1,7 @@
class AddMicrosoftTokensToUsers < ActiveRecord::Migration[6.0]
def change
add_column :users, :microsoft_access_token, :string
add_column :users, :microsoft_refresh_token, :string
add_column :users, :microsoft_token_expires_at, :integer
end
end