mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-12 08:37:38 +02:00
proxy: fix forward auth, request signing
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
ec9607d1d5
commit
0f6a9d7f1d
32 changed files with 928 additions and 522 deletions
|
@ -82,7 +82,9 @@ def main():
|
|||
# initial login to make sure we have our credential
|
||||
if args.login:
|
||||
dst = urllib.parse.urlparse(args.dst)
|
||||
query_params = {"redirect_uri": "http://{}:{}".format(args.server, args.port)}
|
||||
query_params = {
|
||||
"pomerium_redirect_uri": "http://{}:{}".format(args.server, args.port)
|
||||
}
|
||||
enc_query_params = urllib.parse.urlencode(query_params)
|
||||
dst_login = "{}://{}{}?{}".format(
|
||||
dst.scheme, dst.hostname, "/.pomerium/api/v1/login", enc_query_params,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue