mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
🐛(backend) load jwks url when OIDC_RS_PRIVATE_KEY_STR is set
Some checks are pending
Update crowdin sources / install-dependencies (push) Waiting to run
Update crowdin sources / synchronize-with-crowdin (push) Blocked by required conditions
Docker Hub Workflow / build-and-push-backend (push) Waiting to run
Docker Hub Workflow / build-and-push-frontend (push) Waiting to run
Docker Hub Workflow / build-and-push-y-provider (push) Waiting to run
Docker Hub Workflow / notify-argocd (push) Blocked by required conditions
Build and Push to GHCR / build-and-push-backend (push) Waiting to run
Build and Push to GHCR / build-and-push-frontend (push) Waiting to run
Build and Push to GHCR / build-and-push-y-provider (push) Waiting to run
Helmfile lint / helmfile-lint (push) Waiting to run
Frontend Workflow / install-dependencies (push) Waiting to run
Frontend Workflow / test-front (push) Blocked by required conditions
Frontend Workflow / lint-front (push) Blocked by required conditions
Frontend Workflow / test-e2e-chromium (push) Waiting to run
Frontend Workflow / test-e2e-other-browser (push) Blocked by required conditions
Frontend Workflow / bundle-size-check (push) Blocked by required conditions
Frontend Workflow / uikit-theme-checker (push) Blocked by required conditions
Main Workflow / install-dependencies (push) Waiting to run
Main Workflow / lint-git (push) Waiting to run
Main Workflow / check-changelog (push) Waiting to run
Main Workflow / lint-changelog (push) Waiting to run
Main Workflow / lint-spell-mistakes (push) Waiting to run
Main Workflow / lint-back (push) Waiting to run
Main Workflow / test-back (push) Blocked by required conditions
Some checks are pending
Update crowdin sources / install-dependencies (push) Waiting to run
Update crowdin sources / synchronize-with-crowdin (push) Blocked by required conditions
Docker Hub Workflow / build-and-push-backend (push) Waiting to run
Docker Hub Workflow / build-and-push-frontend (push) Waiting to run
Docker Hub Workflow / build-and-push-y-provider (push) Waiting to run
Docker Hub Workflow / notify-argocd (push) Blocked by required conditions
Build and Push to GHCR / build-and-push-backend (push) Waiting to run
Build and Push to GHCR / build-and-push-frontend (push) Waiting to run
Build and Push to GHCR / build-and-push-y-provider (push) Waiting to run
Helmfile lint / helmfile-lint (push) Waiting to run
Frontend Workflow / install-dependencies (push) Waiting to run
Frontend Workflow / test-front (push) Blocked by required conditions
Frontend Workflow / lint-front (push) Blocked by required conditions
Frontend Workflow / test-e2e-chromium (push) Waiting to run
Frontend Workflow / test-e2e-other-browser (push) Blocked by required conditions
Frontend Workflow / bundle-size-check (push) Blocked by required conditions
Frontend Workflow / uikit-theme-checker (push) Blocked by required conditions
Main Workflow / install-dependencies (push) Waiting to run
Main Workflow / lint-git (push) Waiting to run
Main Workflow / check-changelog (push) Waiting to run
Main Workflow / lint-changelog (push) Waiting to run
Main Workflow / lint-spell-mistakes (push) Waiting to run
Main Workflow / lint-back (push) Waiting to run
Main Workflow / test-back (push) Blocked by required conditions
When the resource server is enabled and the backend used is JWTResourceServerBackend, then the API should expose a JWKS endpoint to share the RSA public key to the OIDC provider. Everything is made in the Django LaSuite library, but the URL is not included in the Docs URLs. This commit adds it when the setting OIDC_RS_PRIVATE_KEY_STR is set.
This commit is contained in:
parent
ee90443cb2
commit
203b3edcae
2 changed files with 10 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ and this project adheres to
|
||||||
- 🐛(frontend) abort check media status unmount #2194
|
- 🐛(frontend) abort check media status unmount #2194
|
||||||
- ✨(backend) order pinned documents by last updated at #2028
|
- ✨(backend) order pinned documents by last updated at #2028
|
||||||
- 🛂(frontend) fix cannot manage member on small screen #2226
|
- 🛂(frontend) fix cannot manage member on small screen #2226
|
||||||
|
- 🐛(backend) load jwks url when OIDC_RS_PRIVATE_KEY_STR is set
|
||||||
|
|
||||||
## [v4.8.6] - 2026-04-08
|
## [v4.8.6] - 2026-04-08
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ from django.conf import settings
|
||||||
from django.urls import include, path, re_path
|
from django.urls import include, path, re_path
|
||||||
|
|
||||||
from lasuite.oidc_login.urls import urlpatterns as oidc_urls
|
from lasuite.oidc_login.urls import urlpatterns as oidc_urls
|
||||||
|
from lasuite.oidc_resource_server.urls import urlpatterns as oidc_resource_server_urls
|
||||||
from rest_framework.routers import DefaultRouter
|
from rest_framework.routers import DefaultRouter
|
||||||
|
|
||||||
from core.api import viewsets
|
from core.api import viewsets
|
||||||
|
|
@ -117,3 +118,11 @@ if settings.OIDC_RESOURCE_SERVER_ENABLED:
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if settings.OIDC_RS_PRIVATE_KEY_STR:
|
||||||
|
urlpatterns.append(
|
||||||
|
path(
|
||||||
|
f"api/{settings.API_VERSION}/",
|
||||||
|
include([*oidc_resource_server_urls]),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue