flask-oidc icon indicating copy to clipboard operation
flask-oidc copied to clipboard

Lack of documentation

Open deleocj opened this issue 1 year ago • 3 comments

Ya'll deprecated and removed so much from later versions and you have no documentation on what to replace with the stuff that was removed. You need to update the readme or something because this is unacceptable!

deleocj avatar Jan 22 '24 17:01 deleocj

What did oidc.custom_callback get replaced with? Same with oidc.callback?

deleocj avatar Jan 22 '24 17:01 deleocj

Also I get stuck in a redirection loop with this code: `# # Reditected route

@app.route('/oidc/callback')

@app.require_login()

def callback():

if oidc.user_loggedin:

return "User is logged in"

else:

return "User not logged in"

Index route

@app.route('/')

@oidc.require_login

def index():

return "User signed in"`

deleocj avatar Jan 22 '24 17:01 deleocj

The docs are a little better now, could you have a look at them and see if you can upgrade?

abompard avatar Oct 22 '24 07:10 abompard