Royal-Society-of-New-Zealand / NZ-ORCID-Hub

The home of development for the New Zealand ORCID Hub
MIT License
13 stars 8 forks source link

Renable parameter passing in API credential requests. #1294

Closed Jason-Gush closed 2 years ago

Jason-Gush commented 2 years ago

Parameter passing has been renabled on API credential requests at the new URLs:

https://info.orcid.org/register-a-client-application-production-member-api/

and

https://info.orcid.org/register-a-client-application-sandbox-member-api/

However, it's now a little more complicated as sandbox and production accept different params:

The parameter for "?new_existing=Existing_Update" is now "update_creds" (the options are "Yes" and "No"). Find here the complete list of the parameters that can be added to a URL to populate the forms :

form params

update_creds ("Yes" and "No") staff_notes contact_email contact_name org_name app_name app_description app_url redirect_uri_1 redirect_uri_2 redirect_uri_3 redirect_uri_4 redirect_uri_5 redirect_uri_6

Prod specific:

secondary_email (for password)

Sandbox specific:

cred_type (allowed values are: "basic" or "premium")

Would be nice to have this back again.

nad2000 commented 2 years ago

fixed: 1) updated URLs; 2) adjusted the form initial parameters.