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

DBC22-2535 IDIR login for admin/cms #784

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

fatbird
Copy link
Collaborator

@fatbird fatbird commented Dec 16, 2024

Changes Django admin and Wagtail admin to use Keycloak IDIR auth. Adds functionality to email an access request after authenticating, if further actions are required.

This is disabled by default; enabling it requires adding the following environment variable:

FORCE_IDIR_AUTHENTICATION=True

Which has been added to all OpenShift environments. To continue using local accounts in local dev, simply don't enable this.

msg.attach_alternative(html, 'text/html')
msg.send()
return HttpResponseRedirect(request.path)

Check warning

Code scanning / CodeQL

URL redirection from remote source Medium

Untrusted URL redirection depends on a
user-provided value
.
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.

1 participant