omniauth-casenex 0.3 → 0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ module OmniAuth
|
|
19
19
|
# additional calls (if the user id is returned with the token
|
20
20
|
# or as a URI parameter). This may not be possible with all
|
21
21
|
# providers.
|
22
|
-
uid{ raw_info['
|
22
|
+
uid{ raw_info['username'] }
|
23
23
|
|
24
24
|
info do
|
25
25
|
{
|
@@ -34,7 +34,7 @@ module OmniAuth
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def raw_info
|
37
|
-
@raw_info ||= access_token.get('/me').parsed
|
37
|
+
@raw_info ||= access_token.get('/api/v1/users/me').parsed
|
38
38
|
end
|
39
39
|
end
|
40
40
|
end
|