Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2777

Links error for https://jwt.io in documentation [GHI#36675]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • RHBK-2757 - Release Red Hat Build of KeyCloak

      Before reporting an issue

      [x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      docs

      Describe the bug

      The links check in documentation are failing for https://jwt.io. For example in https://github.com/keycloak/keycloak/actions/runs/12903513066/job/35978901869

      https://jwt.io/ (invalid status code 500)
      

      The reason is that now jwt.io seems to require the Accept-Language header:

      curl -s -o /dev/null -I -w "%{http_code}\n" https://jwt.io
      500
      curl -s -o /dev/null -I -w "%{http_code}\n" -H "Accept-Language: en" https://jwt.io
      200
      

      I'll add the workaround to send that header in the links class.

      Version

      999

      Regression

      [ ] The issue is a regression

      Expected behavior

      No error

      Actual behavior

      https://jwt.io/ (invalid status code 500)

      How to Reproduce?

      cd docs/documentation/
      mvn clean install
      

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: