This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. |