You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,10 +31,16 @@ after theses lines, you call the functions.
29
31
30
32
This function return a json file containing its "gc_id" that must be save in your database to authenticate a user that is logging in.
31
33
32
-
- login a User, this function return the token JWT that you must save in localStorage to authenticate Graphcomment.
34
+
- login a User, this function return the token JWT as JSON that you must save in localStorage to authenticate Graphcomment.
33
35
34
36
`$client->loginUser('email', 'gc_id');`
35
37
38
+
to save in localStorage the gc_token, call this url in ajax navigator of user to authenticate him => http://graphcomment.com/fr/auth.html?gc_token=[TOKEN-without-JWT-only-token]
0 commit comments