Comments (1)
@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)
- Add Login command ala Force CLI
- When using non-production org (sandbox), actions fail with no valid error message. HOT 1
- Pages without a module cannot be pushed with the Directory or Module flags HOT 1
- Ability to deploy to Skuid Site HOT 1
- System.LimitException: Apex heap size too large HOT 4
- Error: Post /services/oauth2/token: unsupported protocol scheme "" HOT 2
- skuid with -v flag reports login was successful when it was not. HOT 2
- skuid cli not pulling all pages HOT 5
- skuid pull in 0.3.0 HOT 8
- Release 0.3.10 doe not return any metadata with "skuid retrieve" HOT 4
- README: rename "skuid" directory to "skuid-cli". HOT 3
- skuid push command: In verbose mode, show names of pages to be pushed
- skuid push command: XML limit lower than Salesforce XML limit HOT 3
- page-pack command ignores (-n and -m) arguments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skuid-cli.