We use email authentication to login user in Kii. Below are the questions we need help with:
Q1 - If email address is not verified, we get INVALID_GRANT. Based on this error we cannot determine if email is registered and need email verification.
We can try to get the user profile using admin token and check for verification flag. Is there any better way of doing it?
Q2 - if we are able to figure out verification status, how do we resend verification email.
We tried the way it is provided in documentation, * Authorization Basic: header for granting an anonymous access.", as we donot have user’s token.
But we get below error:
“message”: “Access to this resource is forbidden within current authentication context”,
Please help as we are not sure how we can handle this