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

Create ens profile setting #23

Closed pconerly closed 2 years ago

pconerly commented 2 years ago

This would solve my issue https://github.com/payton/django-siwe-auth/issues/19

I added an option, CREATE_ENS_PROFILE_ON_AUTHN. I tried to emulate CREATE_GROUPS_ON_AUTHN without changing the current behavior for django-siwe-auth users, which is why I default CREATE_ENS_PROFILE_ON_AUTHN to True in backends.py.

I also added some documentation to README.md, but you could cherry-pick that commit and remove a line to include it without the rest of the code here.

pconerly commented 2 years ago

The changes you asked for make sense, thanks for reviewing it. I just pushed a commit with those changes