cancel
Showing results for 
Search instead for 
Did you mean: 

withCredentials i only sent for swagger.json but not for subsequent requests using swagger-ui-react

kumardeva
Visitor

withCredentials i only sent for swagger.json but not for subsequent requests using swagger-ui-react

My scenario is as follows:

1. My react application is already authenticated with my server using authorization_code flow.

2. I am using swagger-ui-react.

3. My jsx looks like this:

return <SwaggerUI url{url} withCredentials={true}/>
 
4. I can see that the withCredentials is sent for the initial call to get the swagger.json
5. But the withCredentials flag is not sent on requests for the routes themselves,
 
I am hoping the answer is that I am not setting this correctly or missing another configuration.
 
Thanks in advance.
Cheers...
Deva
Tags (1)
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors