rchain-community / rchat-fork

Apache License 2.0
0 stars 0 forks source link

metamask authentication for zulip #8

Open dckc opened 4 years ago

dckc commented 4 years ago

@jimscarver reports Aug 4:

we will look into using https://django-web3-auth.readthedocs.io/en/latest/readme.html to login to zulip and the data locker for storing capabilities based on deployerid https://github.com/rchain-community/liquid-democracy/issues/5(edited)

we could use help with django web3 plugin. I could not fingure out how to configure and theo got errors.

File "/home/theoxd/django-web3-auth/tests/urls.py", line 8, in <module>
url(r'^', include('web3auth.urls', namespace='web3auth')),
File "/srv/zulip-py3-venv/lib/python3.6/site-packages/django/urls/conf.py", line 39, in include
'Specifying a namespace in include() without providing an app_name '
django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.

recording

dckc commented 4 years ago

I tried the django-web3-auth sample app; after futzing with dependencies a bit (which I now see is a known issue: https://github.com/atereshkin/django-web3-auth/issues/1), I got it to run, but when I press Login I get web3 missing.

Again, this seems to be a known issue: https://github.com/atereshkin/django-web3-auth/issues/2

It looks like this thing hasn't been updated since...

It probably wouldn't be a lot of trouble to fix, but I'm not inclined to do it just now.