Sha256: 0644fe412470f5c4be9efc88ff08578d1229edf76616a5a5d3405e290148cbb2
Contents?: true
Size: 601 Bytes
Versions: 10
Compression:
Stored size: 601 Bytes
Contents
RailsSso.configure do |config| # url of entity provider config.provider_url = 'https://example.com' # name of oauth2 provider config.provider_name = 'example' # oauth keys for omniauth-example config.provider_key = ENV['PROVIDER_KEY'] config.provider_secret = ENV['PROVIDER_SECRET'] # path for fetching user data config.provider_profile_path = '/api/v1/profile' # set if you support single sign out config.provider_sign_out_path = '/api/v1/session' # enable cache (will use Rails.cache store) config.use_cache = Rails.application.config.action_controller.perform_caching end
Version data entries
10 entries across 10 versions & 1 rubygems