0.0
The project is in a healthy, maintained state
OmniAuth strategy for Roblox
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

OmniAuth Roblox

OmniAuth strategy for Roblox

Installation

Add to your Gemfile

gem 'omniauth-roblox'

Run bundle install

Setup

Roblox's OAuth API is now public, although your account must be ID verified to utilize it.

Usage

An example of adding this middleware to your Rails app in config/initializers/omniauth.rb

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :roblox, ENV['RBX_CLIENT_ID'], ENV['RBX_CLIENT_SECRET']
end

Configuration Options

  • scope: No scopes are currently set by default, Roblox requires the openid scope at the minimum.
  • image_type: The type of image that should be returned by roblox, defaults to headshot. Allowed values: [empty string] (full body), bust, and headshot.
  • skip_image: If this is set to true, no image url will be returned.