OmniAuth EpicGames
This is an OmniAuth strategy for authenticating to Epic Games OAuth service. In order to use it you need to register an application at the Epic Games Developer Portal
Installation
Add this line to your application's Gemfile:
gem 'omniauth-epicgames'
And then execute:
$ bundle install
Usage
Here's a quick example, adding the middleware to a Rails app in config/initializers/omniauth.rb
:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :epic_games,
ENV['EGS_CLIENT_KEY'],
ENV['EGS_CLIENT_SECRET'],
{ scope: ['basic_profile'].join(' ') }
end
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/trophieshunter/omniauth-epicgames.
License
About
This repo is build and maintained by trophieshunter.com