Open sanshah1211 opened 6 months ago
Found the issue, logout is not happening properly because of this block from the HTML code
<form class="form-inline my-2 my-lg-0" action="{% url 'logout' %}" method="post">
{% csrf_token %}
<button type="submit" class="btn btn-link dropdown-item">Log out</button>
</form>
after changing it from "{% url 'logout' %}" to "{% url ''oidc_logout' %}" it's working properly.
I can see now redirection is happening properly to logout page.
Environment Details - My bumblebee setup is behind reverse proxy.
When I am trying to logout from the bumblebee application, it is redirecting me to the blank page and when I checked the bumblebee container logs I can see below errors. bumblebee-1 | Method Not Allowed: /oidc/logout/ bumblebee-1 | [2024-05-20 20:29:37,078] [WARNING] Method Not Allowed: /oidc/logout/ bumblebee-1 | [20/May/2024 20:29:37] "GET /oidc/logout/ HTTP/1.1" 405 0 bumblebee-1 | Not Found: /favicon.ico bumblebee-1 | [2024-05-20 20:29:37,111] [WARNING] Not Found: /favicon.ico bumblebee-1 | [20/May/2024 20:29:37] "GET /favicon.ico HTTP/1.1" 404 6187