mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-12 23:09:03 +01:00
0c51aff748
Previously, scopes were supported through OAUTH2_SCOPE since v5.3.1. BREAKING CHANGE: update your oauth2 provider configuration if you need scopes support
10 lines
323 B
Ruby
10 lines
323 B
Ruby
# frozen_string_literal: true
|
|
|
|
# This migration saves the scopes of the OAuth2 provider to the database.
|
|
# Previously, the scopes were defined in the OAUTH2_SCOPE environment variable.
|
|
class AddScopesToOAuth2Provider < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :o_auth2_providers, :scopes, :string
|
|
end
|
|
end
|