diff options
| author | Grant Limberg <[email protected]> | 2021-12-01 15:02:21 -0800 |
|---|---|---|
| committer | Grant Limberg <[email protected]> | 2021-12-01 15:02:21 -0800 |
| commit | 730482e62f39a6b8a6fcd16e722f24fbc2278299 (patch) | |
| tree | 1d5c17bbb35cafecf2b78515476ee45bab83675b /controller/PostgreSQL.cpp | |
| parent | 663a09b38de3e16b0919e8d7dd992f77c5266724 (diff) | |
encode network ID into sso state param
Diffstat (limited to 'controller/PostgreSQL.cpp')
| -rw-r--r-- | controller/PostgreSQL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index 28bd7b84..66075fd1 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -459,7 +459,7 @@ AuthInfo PostgreSQL::getSSOAuthInfo(const nlohmann::json &member, const std::str info.ssoClientID = client_id; info.issuerURL = issuer; info.ssoNonce = nonce; - info.ssoState = std::string(state_hex); + info.ssoState = std::string(state_hex) + "_" +networkId; info.centralAuthURL = redirectURL; fprintf( stderr, |
