mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Fixes the logout bug
It works!
This commit is contained in:
parent
ce0bab4ada
commit
5f6a7cd044
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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/",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue