This file allows us to retrieve an id token as well as an access token, to allow us to authenticate with an IdentityServer4 instance.
With this code in place, I can authenticate successfully:
However, when attempting to execute a request, the curl preview box does not contain the Authorization header.
The full request/response header information from Chrome DevTools:
Using Swashbuckle version 1.2.0, the Authorization header was being sent with the request successfully, but now it isn't. Any advice would be greatly appreciated!
I am attempting to upgrade to the latest version of Swashbuckle (2.1.0), and was previously using version 1.2.0.
My Configure method looks like:
and my ConfigureServices method looks like:
I am using a custom index.html that only has this addition
<script src="/js/swagger-ui-oidc.js"</script>
The contents of this file are:This file allows us to retrieve an id token as well as an access token, to allow us to authenticate with an IdentityServer4 instance.
With this code in place, I can authenticate successfully:
However, when attempting to execute a request, the curl preview box does not contain the Authorization header.
The full request/response header information from Chrome DevTools:
Using Swashbuckle version 1.2.0, the Authorization header was being sent with the request successfully, but now it isn't. Any advice would be greatly appreciated!