We’re in the process of implementing JWT-authentication for one of our apps instead of Anonymous authentication. We're using native support SDK for Android/iOS.
‘JWT Claims set’ of a JWT request should contain an email address, which, according to the respective article, is used as the unique identifier for a user unless an external ID is received.
It appears that “Email” is not an optional field, and a claims set should contain some email for a user to be identified.
Is it possible to use a placeholder email address instead of the one provided by a user with JWT authentication for it to work? Question is also brought up by GDPR-related concerns.
Please advise.
We're using the following documentation.
The email address is going to be used in a variety of ways depending on how you set up your instance. As you mentioned, one possibility would be sending email notifications and another option would be their login method.
With respect to anything related to GDPR, we can not make any comments regarding compliance outside of our public disclosure that you can find here. If you have additional questions regarding GDPR, you will want to speak with an appropriate legal or business entity.