-
Notifications
You must be signed in to change notification settings - Fork 3
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
Discourse API Keys #6
Comments
Oh wow, that's great news. 😄 |
Yeah I think I successfully posted to the "What are you working on this week" thread with it if I recall correctly. |
uh! that's cool. Will give it a shot if I find some time. 👍 |
Yeah I just made another test post with it and it worked. |
Hum... started hacking on the Discourse support, but it doesn't work yet. The URL that is generated looks like this: Can you check if I made an obvious mistake? |
I think you have to strip the %0A's |
Actually, I just clicked the URL and it loaded up for me. Maybe it was a temporary outage or you need to be logged in in the browser? |
It's strange. The above link works for me now as well and it takes me to the login screen. Maybe this link will also begin to work after a while? Maybe it's a backend job that needs to get triggered or something? No clue. 🤔 |
16 hours in, second link still dead... 😕 |
@sajattack, does the second link that I posted work for you? On my machine it doesn't while the first one works now. |
No it doesn't. I didn't mean that you should remove all the URL encoding. |
Oh. You're right. Funnily I was just rerunning the tool and then pasting the result here. |
Thanks so far. 👍 |
Whelp, turns out there's https://github.com/maidsafe/system_uri, which we could use. 🎉 |
Nifty. |
One question: does the authentication redirect really need to point to a I'm asking because the system uri handler is quite tricky to get right - especially across platforms. https://github.com/maidsafe/system_uri helps, but one would still have to wrap hello into an app on Mac for example. What do you think? @M3t0r and me were experimenting with this, but we didn't get it to work. See #7 for the current status. |
The discourse:// URI is allowed by default. Other redirects have to be enabled by server admins. "there is a site setting that lists where the redirect is allowed to go." |
Ah okay. That's unfortunate. Then I guess we'll have to go the hard way... |
Hey, just wanted to let you know discourse actually does support API keys for non-admins, it's just really poorly documented. There's some documentation here and here and some code here.
The text was updated successfully, but these errors were encountered: