Skip to content
Discussion options

You must be logged in to vote

scheme_name parameter has different meaning, it's just the name that will be used in openapi for this security scheme:

    "securitySchemes": {
      "APIKeyCookie": {
        "type": "apiKey",
        "in": "cookie",
        "name": "session"
      }
    }

APIKey*** classes assume that token is sent as a value of parameter without any prefixes.
If you need to accept it as Authorization: Schema asd then you need to use another security class

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem question-migrate
2 participants
Converted from issue

This discussion was converted from issue #4157 on February 28, 2023 16:21.