Skip to content

Commit 9b593ce

Browse files
committed
try to make it work
1 parent 45404af commit 9b593ce

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

building/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
OIDC_OP_USER_ENDPOINT = "https://openidconnect.googleapis.com/v1/userinfo"
6565
OIDC_OP_JWKS_ENDPOINT = "https://www.googleapis.com/oauth2/v3/certs"
6666
OIDC_RP_SIGN_ALGO = "RS256"
67+
OIDC_STORE_ACCESS_TOKEN = True
68+
OIDC_STORE_ID_TOKEN = True
6769
LOGIN_REDIRECT_URL = f"https://{os.environ['FQDN']}"
6870
LOGOUT_REDIRECT_URL = f"https://{os.environ['FQDN']}"
6971
LOGIN_URL = f"https://{os.environ['FQDN']}/oidc/authenticate/"

dashboard/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from . import views_gsg
77

88
urlpatterns = [
9-
path('', views.index, name='index'),
109
path("gsg/", views_gsg.index, name="gsg_index"),
1110
path("gsg/reports/", views_gsg.reports, name="gsg_reports"),
1211
path("gsg/billing/", views_gsg.billing, name="gsg_billing"),
1312
path('oidc/', include('mozilla_django_oidc.urls')),
1413
#path("install/<uuid:pk>/", views.install, name="install")
14+
path('', views.index, name='index'),
1515
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

0 commit comments

Comments
 (0)