Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ Fixes #
- [ ] documentation updated
- [ ] `CHANGELOG.md` updated (only for user relevant changes)
- [ ] author name in `AUTHORS`
- [ ] tests/app/idp updated to demonstrate new features
- [ ] tests/app/rp updated to demonstrate new features
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Test

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test-package:
name: Test Package (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})
Expand Down Expand Up @@ -74,8 +78,8 @@ jobs:
fail-fast: false
matrix:
node-version:
- "18.x"
- "20.x"
- "22.x"
- "24.x"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions tests/app/idp/idp/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@

from django.contrib import admin
from django.urls import include, path
from django.views.generic import TemplateView


urlpatterns = [
path('', TemplateView.as_view(template_name='home/index.html'), name='home'), # Maps the root URL to your home_view
path("admin/", admin.site.urls),
path("o/", include("oauth2_provider.urls", namespace="oauth2_provider")),
path("accounts/", include("django.contrib.auth.urls")),
Expand Down
19 changes: 19 additions & 0 deletions tests/app/idp/templates/home/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Identity Provider Home</title>
</head>

<body>
<h1>Welcome to the Identity Provider (IdP)</h1>
<p>This is the home page of the Identity Provider used for testing OAuth2 flows.</p>
<p>Please ensure that the test relying party is running to proceed with authentication tests.</p>
<ul>
<li>IDP Admin interface <a href="http://localhost:8000/admin/">http://localhost:8000/admin/</a></li>
<li>Test Relying Party <a href="http://localhost:5173/">http://localhost:5173/</a></li>
</ul>
</body>
</html>
Loading
Loading