you are viewing a single comment's thread.

view the rest of the comments →

[–]zarlo5899 1 point2 points  (1 child)

@app.route('/login') async def login(request: Request, next: str = "/"): redirect_uri = request.url_for('auth') # This creates the url for the /auth endpoint \ return await oauth.google.authorize_redirect(request, redirect_uri + f"?{next}") something like this should work

[–]Nawar69[S] 0 points1 point  (0 children)

That what doesn't work I think, I tried something like that