Email instead of username in authentication header


Is it possible to use email address of user account instead of username when authenticating against Cumulocity REST API ?

Also, we are developing mobile app which will read the data on Cumulocity REST API backend, so we are wondering if it is possible to let user create their Cumulocity account using google single sign on for registration? We would like to import email, name, user photo…

Thanks in advance,

Hi Miloš,

no, it is not possible to use the email address instead of the username. A best practice is to set the username like the email address on account creation.

Please also consider to switch from authentication via BasicAuth to OAuth.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.