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_token
returned for the unverified user will haveemail_verified
set tofalse
in the JWT?This is relevant because we might want to disable functionality until the user has been verified.
-
The JWT (
id_token
oraccess_token
) will contain theemail_verified
claim with a value oftrue
orfalse
, so if you wish to limit privilege based upon this state, that would be a good way to do it.