-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Checklist
- I could not find a solution in the existing issues or docs.
- I agree to follow this project's Code of Conduct.
Description
It took me some time to find out that I did not have the redirect URI allow-listed on the Hanko Cloud Console.
For (at least some) other input fields, the error is returned attached to the input that had incorrect inputs, for example (this is from a different 400 response):
"username": {
"name": "username",
"type": "string",
"min_length": 3,
"max_length": 32,
"required": true,
"error": {
"code":"value_too_short_error",
"message":"The value is too short."
}
}(this is not explained in the documentation by the way, despite it being very useful)
Describe your ideal solution
The quickest win would be to attach an error to the redirect_to input. Despite the field being hidden, the error code can be useful to find out what went wrong.
Workarounds or alternatives
No response
Hanko Version
Current Cloud Console
Additional Context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request