Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15872

Make it possible to change Authorization -header JWT-token type

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.3, 3.6.0
    • 3.7.0
    • camel-graphql
    • None
    • NA

    • Unknown

    Description

      In camel-graphql Authorization header is hard coded to be Bearer -type:

      https://github.com/apache/camel/blob/aab1568195d9570233c0152f40efc8a6d57e64b2/components/camel-graphql/src/main/java/org/apache/camel/component/graphql/GraphqlEndpoint.java#L114

      Can you implement possibility to change it to Application with some configuration option? In our graphql servers the JWT token is Authorization: Application TOKEN_HERE

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tapiiron Tapio Piironen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: