rockorager / 11ndieWeb

https://11ndieweb.netlify.app/
MIT License
6 stars 4 forks source link

Unsupported URL #1

Open vikramrojo opened 2 years ago

vikramrojo commented 2 years ago

Been looking for a project like this for a while. I managed to get the repo working with Quill, but when I use IA Writer or Indigenous to authenticate, I get a message saying Unsupported URL. Any ideas?

rockorager commented 2 years ago

I actually had the same issue with both iA and Indigenous, and I never was able to resolve what the issue is, but given that it works with Quill I wrote it off as a bug with the way each of those apps are doing auth...perhaps I was wrong though!

I just tried it out again since it's been awhile. I can successfully authenticate but when I redirect back into the iA app I get the same unsupported URL prompt. iA doesn't have much documentation around their micropub auth flow so I'm not sure what they are expecting as a response. If you could manually get a token, it might be possible by entering the token manually. I can't immediately find a way to do that on indieauth.com, though.

Sorry...wish I could be more help!

vikramrojo commented 2 years ago

I'll reach out to iA for support and see what happens.

vikramrojo commented 2 years ago

I did get back this error trying to use another micropub client. "{'message':'An uncaught exception happened while servicing this request. You can investigate this with thezappa tail` command.', 'traceback': ['Traceback (most recent call last):\n', ' File \"/var/task/handler.py\", line 505, in handler\n response = Response.from_app(self.wsgi_app, environ)\n', ' File \"/var/task/werkzeug/wrappers.py\", line 939, in from_app\n return cls(_run_wsgi_app(app, environ, buffered))\n', ' File \"/var/task/werkzeug/test.py\", line 923, in run_wsgi_app\n app_rv = app(environ, start_response)\n', ' File \"/var/task/zappa/middleware.py\", line 70, in call\n response = self.application(environ, encode_response)\n', ' File \"/var/task/beaker/middleware.py\", line 156, in call\n return self.wrap_app(environ, session_start_response)\n', ' File \"/var/task/pecan/middleware/recursive.py\", line 56, in call\n return self.application(environ, start_response)\n', ' File \"/var/task/pecan/core.py\", line 840, in call\n return super(Pecan, self).call(environ, start_response)\n', ' File \"/var/task/pecan/core.py\", line 683, in call\n self.invoke_controller(controller, args, kwargs, state)\n', ' File \"/var/task/pecan/core.py\", line 574, in invoke_controller\n result = controller(args, **kwargs)\n', ' File \"/var/task/indiepaper/controllers/indieauth.py\", line 36, in callback\n result = indieauth.request_token(session[\'me\'], code)\n', ' File \"/var/task/indiepaper/indieauth.py\", line 60, in request_token\n raise Exception(\'No micropub endpoint discovered.\')\n', 'Exception: No micropub endpoint discovered.\n']}"