Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add licenseId validation to POST /api/reactor #2913

Open
bhalsey opened this issue Nov 7, 2024 · 0 comments
Open

Add licenseId validation to POST /api/reactor #2913

bhalsey opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bhalsey
Copy link

bhalsey commented Nov 7, 2024

Add licenseId validation to POST /api/reactor

Description

The licenseId value should have length validation to provide users a helpful error message.

Observed versions

1.51.0

Affects versions

>= 1.26.0

Steps to reproduce

POST a value for licenseId that is > 255 to the Reactor API. /api/reactor

Alternatively, enter a long (> 255 chars) license key on the /admin/reactor/ page.
User sees "FusionAuth encountered an unexpected error. Please review the troubleshooting guide found in the documentation for assistance and the available support channels."

Expected behavior

The API caller should see a status code of 400 with a JSON response indicating the input value is too long. The admin UI should similarly show an error indicating the input is too long.

@robotdan robotdan added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants