A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/phuu/omniauth-appnet below:

tgvashworth/omniauth-appnet: Omniauth Strategy for App.net

An OmniAuth Strategy for App.net.

require 'omniauth'
require 'omniauth-appnet'

use Rack::Session::Cookie
use OmniAuth::Builder do
  provider :appnet, 'YOUR_CLIENT_ID', 'YOUR_CLIENT_SECRET'
end

get '/auth/:provider/callback' do
  # Do something with auth_hash
  redirect to('/')
end

def auth_hash
  request.env['omniauth.auth']
end

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