Hi There,
I’m getting this error if I tried to signup a new user with the ‘userSignUpWithToken’ Mutation with used an idToken from Auth0 profile
The profile information from Auth0 callback looks like:
auth0User {
user: {
nickname: 'auser2',
name: 'auser2@email.ghostinspector.com',
picture: '...',
updated_at: '....',
email: 'auser2@email.ghostinspector.com',
email_verified: true,
sub: 'auth0|5ecbd173b97b720cdeece594'
},
createdAt: 1590417069141,
idToken: '....'
}
and so I send a POST to Mutation ‘userSignUpWithToken’ with the idToken as bearer token in the authorization header with the following vars:
{
"user": {
"email": "auser2@email.ghostinspector.com"
},
"authProfileId": "auth0|5ecbd173b97b720cdeece594"
}
and I got this error back:
{
"data": null,
"errors": [
{
"message": "AuthenticationProfile not found",
"locations": [
{
"line": 2,
"column": 5
}
],
"path": [
"userSignUpWithToken"
],
"code": "EntityNotFoundError",
"details": {
"profile": "AuthenticationProfile not found"
}
}
]
}
Any idea? I might using the wrong setting of Auth0 on 8Base?