A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/aren55555/omniauth-dash below:

aren55555/omniauth-dash: Strategy to authenticate with Dash via OAuth2 in OmniAuth https://dash.by/developers

Strategy to authenticate with Dash via OAuth2 in OmniAuth

Get your API key at: https://dash.by/signup-form.html

For more details, read the Dash authorization documentation at https://dash.by/resources.html

Add to your Gemfile:

then bundle install.

  1. Clone this repo and cd into it
  2. bundle install (Required bundler gem)
  3. cd examples
  4. Set ENV variables for DASH_ID and DASH_SECRET
  5. Set redirect URI to http://localhost:9292/auth/dash/callback
  6. bundle exec rackup
  7. Open http://localhost:9292 in your browser and follow links

In Rails add the following to config/initializers/omniauth.rb

use OmniAuth::Builder do
  provider :dash, ENV['DASH_ID'], ENV['DASH_SECRET']
end

This will enable the route /auth/dash which will start the OAuth2 flow. See examples/config.ru for a fully working example.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4