Cookie Authentication
See original GitHub issueDescription
OpenAPI Spec v3 supports cookie authentication https://swagger.io/docs/specification/authentication/cookie-authentication/
Currently I have to pass LtpaToken2 as a cookie for authentication However I’m getting the following error “Cannot send apiKey in ‘"cookie"’”
To Reproduce Steps to reproduce the behavior:
- Create an api spec that has the following security setup
"components": { "securitySchemes": { "CookieAuth": { "type": "apiKey", "in": "cookie", "name": "LtpaToken2" } }, "security": [{ "CookieAuth": [] }], - Spin up oasgraph and try to execute a query
- See error message
“message”: “Cannot send apiKey in ‘"cookie"’”,
Expected behavior Query to be executed successfully
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Cookie Authentication - Swagger
Cookie authentication uses HTTP cookies to authenticate client requests and maintain session information. It works as follows: ... On the successful login, the ......
Read more >How does cookie based authentication work? - Stack Overflow
A cookie is basically just an item in a dictionary. Each item has a key and a value. For authentication ...
Read more >Use cookie authentication without ASP.NET Core Identity
The authentication cookie's IsEssential property is set to true by default. Authentication cookies are allowed when a site visitor hasn't ...
Read more >Cookie vs Token authentication - Section.io
A Cookie-based authentication uses the HTTP cookies to authenticate the client requests and maintain session information on the server over ...
Read more >Cookies - Auth0
Cookie -based authentication is implemented by each web platform differently, but at the end of the day, they all end up setting some...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hey I have a fix in place would it be possible for me to submit a pull request?
I tried to push locally but my access rights are denied. 😢
Thank you for responding so quickly! 😃 Looking forward to the fix!