payton / django-siwe-auth

A complete Django authentication system overhall for Web3 utilizing Sign-In with Ethereum.
MIT License
26 stars 6 forks source link

Override Admin Login Page #16

Closed payton closed 2 years ago

payton commented 2 years ago

Currently, the Django admin login page defaults to password authentication. This is no longer plausible for key-pair authentication.

Issue identified in https://github.com/payton/django-siwe-auth/issues/15

pconerly commented 2 years ago

This is also a duplicate of https://github.com/payton/django-siwe-auth/issues/7

But the link is valuable https://docs.djangoproject.com/en/dev/ref/contrib/admin/#root-and-login-templates

pconerly commented 2 years ago

So, it's kind of horrible that in order to have an Admin login page, we'd need a copy of the siwe javascript package. I mean it makes sense, but I don't like having that as part of the django-siwe-auth package build process.

I wonder if there's a simplified JS script we could include instead?