internetee / registrant_center

Web portal for domain registrants and contacts to get a registrar independent overview of domain associated with the user. Other features include contact data update and fully automated domain registry lock.
0 stars 0 forks source link

wrong ident cc is sent to api #52

Closed vohmar closed 3 years ago

vohmar commented 3 years ago

In the API request to retrieve domains for the loged in user the actual country code received from the authentication system is ignored and EE is used instead.

Furthermore - the ident itself is converted into all caps - that is not expected as well.

Example:

data in from auth system userData: { country_code: 'LT', first_name: 'TEST', ident: 'a12fb441-2bd1-40be-ad64-8879ccc6e021', last_name: 'USER' }

query sent to api: "registrant_ident", "EE-A12FB441-2BD1-40BE-AD64-8879CCC6E021"