Skip to content

Instantly share code, notes, and snippets.

@svensson-david
svensson-david / tictail-oauth2
Last active August 29, 2015 13:57
Oauth strategy for Tictail authentication
# Oauth strategy for Tictail authentication
# You will need additional code to handle the logins
# If using Devise follow this guide - https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview
require 'omniauth-oauth2'
module OmniAuth
module Strategies
class TictailOauth2 < OmniAuth::Strategies::OAuth2
# Give your strategy a name.