Token difference when account hasn't been verified
-
I have a question about account verification: is the only difference between an account which is verified and one which is not that the
id_tokenreturned for the unverified user will haveemail_verifiedset tofalsein the JWT?This is relevant because we might want to disable functionality until the user has been verified.
-
The JWT (
id_tokenoraccess_token) will contain theemail_verifiedclaim with a value oftrueorfalse, so if you wish to limit privilege based upon this state, that would be a good way to do it.