lib/omniauth/strategies/eklase.rb in omniauth-eklase-1.0.0 vs lib/omniauth/strategies/eklase.rb in omniauth-eklase-2.0.0
- old
+ new
@@ -11,10 +11,10 @@
site: "https://login.e-klase.lv",
authorize_url: '/Auth/OAuth/',
token_url: '/Auth/OAuth/GetAccessToken/',
token_method: :get
- uid { info["user_name"] }
+ uid { info["id"] }
info do
raw_info["Person"].inject({}) do |h, (k, v)|
h[underscore(k)] = v
h