sasjs / server

Build Apps on Base SAS
https://server.sasjs.io
MIT License
20 stars 3 forks source link

fix: consume swagger api with CSRF #156

Closed saadjutt01 closed 2 years ago

saadjutt01 commented 2 years ago

Cookie Authentication on Swagger UI is not supported

Note for Swagger UI and Swagger Editor users: Cookie authentication is currently not supported for "try it out" requests due to browser security restrictions. See this issue for more information. SwaggerHub does not have this limitation.

Ref: https://swagger.io/docs/specification/authentication/cookie-authentication/

Implemented request intercepter to manually add CSRF in headers.