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

Deprecate the use of Basic Authentication in the examples #297

Closed
almet opened this issue Nov 24, 2015 · 2 comments
Closed

Deprecate the use of Basic Authentication in the examples #297

almet opened this issue Nov 24, 2015 · 2 comments

Comments

@almet
Copy link
Member

almet commented Nov 24, 2015

Originally reported at mozilla-services/cliquet#590

Currently, the demo instances and the code in the tutorial are relying on Basic Authentication. We should get rid of these examples and let the users directly rely on OAuth providers instead.

The user id should be unique, and the way to do this is to rely to an external authn provider, and all of the services we integrate with are integrable by using OAuth.

We should make it really easy to have the examples integrate with Github / Twitter / Facebook authentication. For instance, having them defined as extra-dependencies could make sense. Consider:

$ pip install kinto[github-auth]

@tarekziade
Copy link
Contributor

I hope that does not mean Kinto can't run without an OAuth provider... If Kinto can run with Basic Auth (or no auth at all), I think the tutorial should use it to KISS.

When I am trying a new storage service and following a tutorial, I don't care about authentication. It's not something I care about until I deploy the service. (or try out stuff around permissions etc)

If your tutorial forces me to use Github, Twitter or Facebook - It makes me want to stop right there.

@almet
Copy link
Member Author

almet commented Feb 2, 2016

That's not the intention. The intention was implemented in #395

@almet almet closed this as completed Feb 2, 2016
lavish205 pushed a commit to lavish205/kinto that referenced this issue Jun 20, 2016
lavish205 pushed a commit to lavish205/kinto that referenced this issue Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants