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
Add this line to your application's Gemfile:
gem 'omniauth-epicgames'
And then execute:
$ bundle install
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
Bug reports and pull requests are welcome on GitHub at https://github.com/trophieshunter/omniauth-epicgames.
This repo is build and maintained by trophieshunter.com