Fixes the logout bug

It works!
This commit is contained in:
zandercymatics 2023-08-13 19:40:30 -06:00
parent ce0bab4ada
commit 5f6a7cd044
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 5 additions and 1 deletions

View file

@ -285,7 +285,7 @@ SERVER_EMAIL = "root@get.gov"
# Content-Security-Policy configuration
# this can be restrictive because we have few external scripts
allowed_sources = ("'self'",)
allowed_sources = ("'self'", "https://idp.int.identitysandbox.gov", "https://idp.int.identitysandbox.gov/openid_connect/logout")
CSP_DEFAULT_SRC = allowed_sources
# Most things fall back to default-src, but these two do not and should be
# explicitly set

View file

@ -45,6 +45,10 @@ for step, view in [
urlpatterns = [
path("", views.index, name="home"),
path(
"admin/logout/",
RedirectView.as_view(url="/openid/logout", permanent=False),
),
path("admin/", admin.site.urls),
path(
"application/<id>/edit/",