Skip to content

Commit 6d7b0df

Browse files
committed
chore: update rp and idp styling
- rp improve styling for readability - rp updated to latest @dopry/svelte-oidc to get EventLog - idp add home page with links to admin and rp - add tasks to pr template asking contributors to update the idp and rp with new features
1 parent 842a4d5 commit 6d7b0df

File tree

9 files changed

+848
-1317
lines changed

9 files changed

+848
-1317
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ Fixes #
1414
- [ ] documentation updated
1515
- [ ] `CHANGELOG.md` updated (only for user relevant changes)
1616
- [ ] author name in `AUTHORS`
17+
- [ ] tests/app/idp updated to demonstrate new features
18+
- [ ] tests/app/rp updated to demonstrate new features

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
fail-fast: false
7575
matrix:
7676
node-version:
77-
- "18.x"
78-
- "20.x"
77+
- "22.x"
78+
- "24.x"
7979
steps:
8080
- name: Checkout
8181
uses: actions/checkout@v4

tests/app/idp/idp/urls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717

1818
from django.contrib import admin
1919
from django.urls import include, path
20+
from django.views.generic import TemplateView
2021

2122

2223
urlpatterns = [
24+
path('', TemplateView.as_view(template_name='home/index.html'), name='home'), # Maps the root URL to your home_view
2325
path("admin/", admin.site.urls),
2426
path("o/", include("oauth2_provider.urls", namespace="oauth2_provider")),
2527
path("accounts/", include("django.contrib.auth.urls")),
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Identity Provider Home</title>
8+
</head>
9+
10+
<body>
11+
<h1>Welcome to the Identity Provider (IdP)</h1>
12+
<p>This is the home page of the Identity Provider used for testing OAuth2 flows.</p>
13+
<p>Please ensure that the test relying party is running to proceed with authentication tests.</p>
14+
<ul>
15+
<li>IDP Admin interface <a href="http://localhost:8000/admin/">http://localhost:8000/admin/</a></li>
16+
<li>Test Relying Party <a href="http://localhost:5173/">http://localhost:5173/</a></li>
17+
</ul>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)