Skip to content

Commit

Permalink
Merge pull request #85 from SunbirdAI/google_auth
Browse files Browse the repository at this point in the history
url correction
  • Loading branch information
yigagilbert authored Nov 1, 2024
2 parents ff84cc9 + 150a6f4 commit b18fa31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routers/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async def change_password(

return {"message": "Password change successful", "success": True}

@router.get("/auth/google/login")
@router.get("/auth/google/login", name="auth/google_login")
async def google_login(request: Request):
redirect_uri = request.url_for("google_callback")
return await oauth.google.authorize_redirect(request, redirect_uri)
Expand Down

0 comments on commit b18fa31

Please sign in to comment.