Skip to content
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

Allow q=config (and some other queries) to be unauthenticated #10

Open
jamietanna opened this issue Jul 16, 2021 · 4 comments
Open

Allow q=config (and some other queries) to be unauthenticated #10

jamietanna opened this issue Jul 16, 2021 · 4 comments

Comments

@jamietanna
Copy link
Contributor

jamietanna commented Jul 16, 2021

I've currently got my Micropub server not requiring this, as I don't think this query requires anything - what are your thoughts?

Also wondering about allowing q=source to attempt to retrieve a post if unauthenticated, and only show it if it's public

@jamietanna jamietanna changed the title Allow q=config to be unauthenticated Allow q=config (and some other queries) to be unauthenticated Jul 16, 2021
@barryf
Copy link
Owner

barryf commented Jul 16, 2021

I've made q=config calls require authentication based on the Micropub spec examples. I also assume the config would be consumed by clients which must authenticate first anyway. What's your use case for an unauthenticated request?

@jamietanna
Copy link
Contributor Author

I don't really have a use case per se, but when implementing my Micropub server I decided that q=config showed nothing of note that should be private, and i.e. allowed me to easily check things in a browser without authenticating.

No biggie - and happy to talk a bit more about this across others' implementations 😄

@barryf
Copy link
Owner

barryf commented Jul 16, 2021

I think I considered it when looking at your server because it's a nice way of seeing how others have done it 😎

But it's also convenient having all requests require authentication without exceptions. So I'm a bit on the fence!

@jamietanna
Copy link
Contributor Author

That's a fair point, that makes sense 👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants