wellcomecollection / identity

Identity services for Wellcome Collection users
MIT License
0 stars 2 forks source link

update the get user script #319

Closed melanierogan closed 2 years ago

melanierogan commented 2 years ago

We are testing patron creation through auth0 'create' script. We notice that we are getting a particular error which suggests the json is invalid.

Malformed or invalid Patron creation request (cause: [{\"code\":115,\"specificCode\":0,\"httpStatus\":400,\"name\":\"Invalid JSON\",\"description\":\"Invalid JSON : field(s) unknown : params.\"}])

I have a feeling this will return undefined values for certain fields we are trying to populate in the POST create patron. If we just return, I'm hoping we get the values we need.

FYI The flow of auth0 scripts

  1. Get user script
  2. Create user script
  3. Login script