Closed bruceharrison1984 closed 2 years ago
I'm seeing the exact same behavior from https://github.com/skoruba/IdentityServer4.Admin as well, so I can only assume I am doing something incorrectly when running this locally.
Running the reference Duende container, I can retrieve a token as expected.
My issue was my token and authorizer urls were set to http
scheme instead of https
. Once i corrected for this, I was able to retrieve a token via Postman.
Good job on this!
Question
I'm trying to run a basic test using the Docker compose setup, and I cannot seem to get Postman fetch an access token. The connect/token endpoint is redirect me away from
POST
and back toGET
which results in the token request returninginvalid_request
.I'm also seeing similar failures when using the browser to simply login to STS/Admin console through normal means, though the frequency seems random:
Am I totally missing something here?
Relevant parts of the log file
This log represents what happens when using Postman to retrieve and OAuth2 token:
This log represents what happens when logging in via Chrome to the Admin console fails: