puiterwijk / flask-oidc

OpenID Connect support for Flask
BSD 2-Clause "Simplified" License
154 stars 217 forks source link

Is the logout route hardcoded? #162

Open oculos opened 9 months ago

oculos commented 9 months ago

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?

kevlarius commented 8 months ago

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.