Soluto / oidc-server-mock

Configurable Mock Server for OpenId Connect
Apache License 2.0
216 stars 34 forks source link

SSL Termination #142

Open khamza85 opened 3 months ago

khamza85 commented 3 months ago

https://github.com/Soluto/oidc-server-mock/blob/1b8405635311d8aeba8e77165f40d75b91f20eba/src/Program.cs#L78

this prevents from having an SSL termination proxy in front of the mock server.

AleF83 commented 3 months ago

Hi, Do you suggest to make it configurable?

douglasg14b commented 3 months ago

I believe this is also a factor of the ASPNETCORE_URLS configuration you might be using, if an HTTPS URL is configured you may still have problems even if UseHttpsRedirection() is unused.