Code Monkey home page Code Monkey logo

Comments (6)

jehiah avatar jehiah commented on July 19, 2024

@mbland good questions. Let me dig into your current set of changes to understand what would be involved.

I'm not opposed to some generalization for other oauth provider endpoints and requested scopes, but i suspect it will become tricky as oauth providers don't have a consistent way to echo back identity after authentication which GAP needs.

I'm also keen to eventually support #28 which likely ties some functionality closer to Google's apis.

from oauth2_proxy.

jehiah avatar jehiah commented on July 19, 2024

also cc: @balshor w/r/t 5f8bd41

from oauth2_proxy.

mbland avatar mbland commented on July 19, 2024

OK, I'll keep hacking on 18F/oauth2_proxy to see if I can come up with some seams that make sense, and we can consider later whether they're worth pushing back up here. Feel free to subscribe to our repo, jump in on PRs, etc.

from oauth2_proxy.

mbland avatar mbland commented on July 19, 2024

FYI, I've merged the latest changes from here into the generalize branch of our oauth2_proxy fork, and we're running this version now. Seems to work well.

If you're curious, I created a providers package to present a unified providers.Provider interface between the Google and MyUSA providers, and an api package to share the common api.Request() (formerly apiRequest()) between them.

I still need to add proper tests, but in the off chance you'd be interested in having any of this pushed upstream, let me know and I can prioritize that.

from oauth2_proxy.

jehiah avatar jehiah commented on July 19, 2024

wow. Amazingly that refactoring came out very clean. Totally would accept as a PR.

And naming is hard, but renaming this project to a more generic "oauth2_proxy" is not a bad idea either.

from oauth2_proxy.

mbland avatar mbland commented on July 19, 2024

Cool! I'll start sending PRs your way to build this up bit-by-bit.

from oauth2_proxy.

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.