Commit acb326b7 authored by Peter Heiss's avatar Peter Heiss 🖖

localhost 3000 as test

parent bbef00a3
Pipeline #59030 passed with stages
in 6 minutes and 16 seconds
......@@ -409,7 +409,7 @@ class TokenService():
"code": code,
"client_id": service.client_id,
"client_secret": service.client_secret,
"redirect_uri": "{}/redirect".format(os.getenv("FLASK_HOST_ADDRESS", "http://localhost:8080"))
"redirect_uri": "{}/redirect".format(os.getenv("FLASK_HOST_ADDRESS", "http://localhost:3000"))
}"request body: {body}")
......@@ -171,7 +171,7 @@ class OAuth2Service(Service):
data = {
"grant_type": "refresh_token",
"refresh_token": token.refresh_token,
"redirect_uri": "{}/redirect".format(os.getenv("FLASK_HOST_ADDRESS", "http://localhost:8080")),
"redirect_uri": "{}/redirect".format(os.getenv("FLASK_HOST_ADDRESS", "http://localhost:3000")),
"client_id": self.client_id,
"client_secret": self.client_secret,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment