Giter Site home page Giter Site logo

Basic Auth about descartes HOT 10 CLOSED

obfuscurity avatar obfuscurity commented on June 26, 2024
Basic Auth

from descartes.

Comments (10)

antonlindstrom avatar antonlindstrom commented on June 26, 2024

It would be really nice, in addition to Basic Auth and Google OpenID, add several providers such as twitter and github for authentication.

Thanks for the awesome project!

from descartes.

obfuscurity avatar obfuscurity commented on June 26, 2024

@antonlindstrom Descartes is a multi-user service, but not multi-tenant. It assumes that the user is part of some trust domain (e.g. Google Apps domain, htpasswd file, etc). Without that anyone with a valid twitter account could theoretically login (without some sort of pseudo-domain support on the backend, which would effectively nullify the point of using a 3rd-party federated login).

from descartes.

antonlindstrom avatar antonlindstrom commented on June 26, 2024

@obfuscurity I agree that that would be a problem. My thought was to use some sort of access list to grant access to specific accounts while still supporting several providers.

from descartes.

brntbeer avatar brntbeer commented on June 26, 2024

giving this issue a bump 👊 for htpasswd. is that still a request? i agree with @obfuscurity that twitter may not make much sense since it's about organizational groupings.

edit: how would we save graphs or set any kind of session with an htpasswd file?

from descartes.

obfuscurity avatar obfuscurity commented on June 26, 2024

Twitter, no. GitHub, yes. htpasswd, yes. We should be able to use HTTP_USER for the session user in Rack, no?

TBH I haven't given too much thought to it yet, and I haven't had my coffee this morning.

from descartes.

antonlindstrom avatar antonlindstrom commented on June 26, 2024

That sounds great, Github is what we all want to use!

from descartes.

brntbeer avatar brntbeer commented on June 26, 2024

doubling down on for you. @antonlindstrom: i have github auth in #62 right now.

No idea about HTTP_USER. maybe?

from descartes.

obfuscurity avatar obfuscurity commented on June 26, 2024

@brntbeer Are you trolling me, maybe? :wink2:

I'm starting to lean towards closing this issue altogether and just going with Google/GitHub. I only wanted to offer Basic Auth as an alternative for those people not using Google Apps. But it seems like these two answer 99.99% of the user base, with other omniauth strategies potentially filling in gaps later on.

from descartes.

brntbeer avatar brntbeer commented on June 26, 2024

haha no. I was just chiming in (read: adding noise) that i had no idea about HTTP_USER off the top of my head.

👍 for closing this...and accepting my pull request.

from descartes.

obfuscurity avatar obfuscurity commented on June 26, 2024

@brntbeer which pull request?

from descartes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.