lib/omniauth/strategies/identitas.rb in omniauth-identitas-0.1.2 vs lib/omniauth/strategies/identitas.rb in omniauth-identitas-0.2.0
- old
+ new
@@ -5,10 +5,10 @@
class Identitas < OmniAuth::Strategies::OAuth2
# change the class name and the :name option to match your application name
option :name, :identitas
option :client_options, {
- site: ENV["IDENTITAS_SITE"] ? ENV["IDENTITAS_SITE"] : "https://api.identitas.com",
+ site: "https://api.identitas.com",
authorize_url: "/oauth/authorize"
}
uid { raw_info["id"] }
\ No newline at end of file