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

[Bug]: FusionAuth /.well-known/jwks.json returns JSON with unescaped \r and \n characters. #2995

Open
rod-martens-alida opened this issue Feb 7, 2025 · 0 comments

Comments

@rod-martens-alida
Copy link

What happened?

The JSON returned by https://alida-stage.fusionauth.io/.well-known/jwks.json has unescaped \r and \n characters in the certificate data.
Found this when using a newer (more JSON standard aware) JSON parser.

\r and \n should be escaped in JSON formats. https://tools.ietf.org/html/rfc8259#section-7

Very simple workaround: remove \r and \n from the HTTP response before parsing.

Version

1.55.1

Affects Versions

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant