omniauth-casenex 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|