Commit 8c90161b by jiaqiying

sso token

parent aba5114e
...@@ -59,7 +59,7 @@ def build_headers(headers): ...@@ -59,7 +59,7 @@ def build_headers(headers):
elif name == SSOConfig.name: elif name == SSOConfig.name:
if headers == None or headers == "": if headers == None or headers == "":
headers = SSOConfig.headers headers = SSOConfig.headers
headers['Authorization'] = SSOConfig.sso_token headers['token'] = SSOConfig.sso_token
return headers return headers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment