Giter Site home page Giter Site logo

Comments (1)

zachelrath avatar zachelrath commented on June 3, 2024

@blardo 100% agree, would love to see us get this added.

Ideally Skuid Platform would be able to act as a true OAuth 2.0 provider, with the ability for each site to register OAuth clients, which could be revoked/managed individually, and with support for Refresh Tokens. Then, Skuid CLI could perform a proper OAuth 2.0 login process, where we could open up a browser window to have the user authorize the OAuth client, and then get back a refresh token, which, for local development especially, the Skuid CLI could store locally in a hidden folder, along with access token. Then whenever the Skuid CLI was used, it could attempt to use it's access token, and if it is expired, it could transparently use the refresh token to obtain a new access token --- thereby eliminating the need for the user to ever store their username/password locally. I've seen this pattern performed excellently with a few different CLI tools (sfdx, dmc) and it's very nice.

For CI environments, we could also support the "Resource Owner Password Credentials" or "Client Credentials" grant types so that in CI, Client Id / Client Secret / Username / Password could be provided as ENV variables and we could perform a headless grant.

It would be therapeutic for me to implement this on Skuid Platform sometime in the next 2 months. We'll see how much time I have for "therapy" :)

from skuid-cli.

Related Issues (15)

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.