So I am making a simple Flask website for my Garry's mod server so that players can link their steam account to our server. I am using the flask_openid module. Whenever the login function is called, I get a redirect error. <code>@app.route('/login')
@oid.loginhandler
def login():
if g.user is not None:
return redirect(oid.get_next_url())
return oid.try_login("http://steamcommunity.com/openid")
Whenever the login function is called, I get a too many redirects error. I am currently using a free account and would like to upgrade to hacker, however, I want to get this working first. Any help is appreciated. Thanks!