
User17293648591928152182 (Customer) asked a question.
Hey all,
I'm trying to configure SLO in my Flask app using OIDC.
I tried this:
@app.route("/logout1")
@oidc.require_login
def logout():
*oidc.logout()
logout_request = f"https://dev-XXXXXX.okta.com/oauth2/v1/logout?id_token_hint={oidc.get_access_token()}"
print(logout_request)
return redirect(logout_request)
and have also tried shoving the default prefix in the URL but it didnt help.
I always get 400 Bad Request, was anyone able to get it to work?

Hi @User17293648591928152182 (Customer) , Thank you for reaching out to the Okta Community!
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out via devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-custom/developer work).
Regards.
--
Ask Us Anything about Workflows now thru 10/31