mruzekw
02/15/2017, 4:39 PMidToken from Auth0. Though I notice there’s a mismatch between the token and what’s in the database, e.g. idToken=a98d7f98af798d7f98afd798af897… and auth0IdToken=facebook|0982394802398409
query ($auth0Id: String!) {
user: User(auth0UserId: $auth0Id) {
id
name
}
}nilan
02/15/2017, 4:40 PMidToken here, you can see what information it contains: jwt.ionilan
02/15/2017, 4:41 PMnilan
02/15/2017, 4:42 PMauth0UserId and not auth0IdToken. Or what are you referring to with auth0IdToken?mruzekw
02/15/2017, 4:43 PMauth0UserIdnilan
02/15/2017, 4:43 PMmruzekw
02/15/2017, 4:44 PMidToken when loading the page? It works initially when loggin in or creating a usernilan
02/15/2017, 4:45 PMUser modelmruzekw
02/15/2017, 4:46 PMnilan
02/15/2017, 4:46 PMmruzekw
02/15/2017, 4:46 PMnilan
02/15/2017, 4:47 PMAuthorization header with the tokennilan
02/15/2017, 4:47 PMlocalStorage, that should live through a page refreshnilan
02/15/2017, 4:47 PMmruzekw
02/15/2017, 4:49 PMmruzekw
02/15/2017, 4:50 PMAuthorization token?nilan
02/15/2017, 4:50 PMAuthorization header. If you want that to live through page reloads, your central storage has to manage that.nilan
02/15/2017, 4:50 PMmyToken, the Authorization header has to be set to Bearer myTokenmruzekw
02/15/2017, 4:51 PMmruzekw
02/15/2017, 4:51 PMnilan
02/15/2017, 4:51 PMmruzekw
02/15/2017, 4:52 PM