Skip to content

Authentication: fix insecure auth redirect#113

Merged
NickCraver merged 1 commit intomasterfrom
craver/login-https
Dec 13, 2020
Merged

Authentication: fix insecure auth redirect#113
NickCraver merged 1 commit intomasterfrom
craver/login-https

Conversation

@NickCraver
Copy link
Copy Markdown
Contributor

This resolves https://meta.stackexchange.com/questions/357811/chrome-warns-me-my-connection-is-not-secure-when-authenticating-in-sede-with-a-g, which was not using https:// when deployed behind a TLS terminator and the backend to web was over :80.

This resolves https://meta.stackexchange.com/questions/357811/chrome-warns-me-my-connection-is-not-secure-when-authenticating-in-sede-with-a-g, which was not using https:// when deployed behind a TLS terminator and the backend to web was over `:80`.
@NickCraver NickCraver requested a review from yellis December 13, 2020 20:45
@rschrieken
Copy link
Copy Markdown
Contributor

I don't think IsSecureConnection will return true unless you forward TLS from the terminator to the IIS server, unless you do some Header trickery by providing things like X-Forwarded-Proto and handling that in the call.

@NickCraver
Copy link
Copy Markdown
Contributor Author

@rschrieken It should work - that Current.IsSecureConnection is indeed ours, defined here.

@NickCraver NickCraver merged commit 2b7cd54 into master Dec 13, 2020
@NickCraver NickCraver deleted the craver/login-https branch December 13, 2020 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants