Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add login form for admin that uses OIDC #1

Merged
merged 3 commits into from
Feb 14, 2024
Merged

Add login form for admin that uses OIDC #1

merged 3 commits into from
Feb 14, 2024

Conversation

timonegk
Copy link
Member

The template code is from django/contrib/admin/templates/admin/login.html.

Looks like this:
image

I decided to keep the error notes because they might still be relevant.

@timonegk timonegk requested a review from lilioid February 13, 2024 14:47
Copy link
Member

@lilioid lilioid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can fix the CI by only copying the templates directory and not having it be rendered with cookiecutter. (Cookiecutter and django clash because they both use jinja for templating).
See the cookiecutter docs.

@lilioid lilioid merged commit 44d3ab4 into main Feb 14, 2024
2 checks passed
@lilioid lilioid deleted the oidc_login_form branch February 14, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants