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

Is the logout route hardcoded?

Open oculos opened this issue 1 year ago • 1 comments

I am trying to modify the

@app.route('/logout')

function.

However, even if I erase the decoration and the function, I still get a default behavior for the /logout endpoint, which is a redirect to the root url.

Is it so? Is there a way to configure it differently?

oculos avatar Oct 28 '23 19:10 oculos

I am trying to modify the

@app.route('/logout')

function.

However, even if I erase the decoration and the function, I still get a default behavior for the /logout endpoint, which is a redirect to the root url.

Is it so? Is there a way to configure it differently?

Looks like it uses views.py#logout_view function. I have the same problem.

kevlarius avatar Nov 28 '23 08:11 kevlarius