Skip to content

trophieshunter/omniauth-epicgames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniAuth EpicGames

Gem Version

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

The MIT License

About

This repo is build and maintained by trophieshunter.com

Sponsored by trophieshunter.com

About

OmniAuth strategy for Epic Games

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages