add missing assigment to scope in oauth2 usage #136

Merged
hjacobs merged 1 commits from sybnex/kube-web-view:main into main 9 months ago
  1. 2
      kube_web/web.py

2
kube_web/web.py

@ -1401,7 +1401,7 @@ async def auth(request, handler):
)
scope = os.getenv("OAUTH2_SCOPE")
if scope:
params["scope"]
params["scope"] = scope
raise web.HTTPFound(location=client.get_authorize_url(**params))
response = await handler(request)
return response

Loading…
Cancel
Save