If you're creating a new OAuth2 client, and you're using a client_id that's already in the system, a12nserver will emit a 500 error due to a violation of the unique constraint.
It would be nice if instead we threw a more user-friendly error. This should probably be a 409 conflict.
To create a new OAuth2 client:
Go to 'Apps'
Create new App.
Find the new App resource you created, there should be an option to see the 'oauth2 clients'.
From there, there should be a navigation item to create a new client.
If you're creating a new OAuth2 client, and you're using a
client_id
that's already in the system, a12nserver will emit a 500 error due to a violation of the unique constraint.It would be nice if instead we threw a more user-friendly error. This should probably be a
409 conflict
.To create a new OAuth2 client: