Content-Length: 209627 | pFad | https://github.com/sebadob/rauthy/commit/c002fbed506e9dae2024e6e3ea5af33b7429cf11

54 Construct issuer correctly when https only serving is enabled · sebadob/rauthy@c002fbe · GitHub
Skip to content

Commit

Permalink
Construct issuer correctly when https only serving is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedfall committed Nov 2, 2023
1 parent 51dc320 commit c002fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rauthy-models/src/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl AppState {
panic!("ENC_KEY_ACTIVE not found in ENC_KEYS");
}

let issuer_scheme = if listen_scheme == ListenScheme::HttpHttps || *PROXY_MODE {
let issuer_scheme = if matches!(listen_scheme, ListenScheme::HttpHttps | ListenScheme::Https) || *PROXY_MODE {
"https"
} else {
"http"
Expand Down

0 comments on commit c002fbe

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/sebadob/rauthy/commit/c002fbed506e9dae2024e6e3ea5af33b7429cf11

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy