Comments (5)
@balub can you look into this?
from hoppscotch.
If the client secret changes on openid provider side, you couldn't login to admin dashboard to change the client secret on hoppscotch side.
from hoppscotch.
Related to #3868 btw
from hoppscotch.
Hey, @Breee so the way the InfraConfig works is that when the Hoppscotch instance is up for the first time we essentially read the env values and save them in the DB. Every subsequent time when the instance is spun up we check to see if any new env variable/s have been added and if yes we add them to the table. For the most part, once the values are loaded into the table, we do not check to see if values have changed to update their values to their new ones in the DB from the env file.
Instead, we recommend users update values from the admin dashboard. In your case, the recommended approach is to update the client secrets from the admin dashboard itself. Now one more thing to note is that just changing the values in the DB will not result in them being used in the Hoppscotch instance. To do that you will have to restart the instance so that all the modules can re-initialize themselves.
Updating values from the admin dashboard does all this so that once a value for a property has been updated, its new value is saved in the DB and the Hoppscotch instance uses the new values.
from hoppscotch.
We rely on fully automated updates with automated tests and rotate secrets frequently, so clicking in the UI is not a solution for us.
In my opinion cloud native applications should be fully configurable via ENV variables, config files or via API, everything else is broken by design.
A possible solution could be to calculate a delta of the ENV variables to what is in the DB and set them on startup. That is just a Single loop that solves my Problem. wdyt?
from hoppscotch.
Related Issues (20)
- Update more public data structures to be versioned entities HOT 3
- The API response headers of the old project are all set to content-type: text/plain, but the actual data is in JSON format. Can it automatically attempt to format the response data into JSON?
- [bug]: pc app not network when choose mulitpart/form-data
- [bug]: Command + return on mac should not add a newline to body, instead only send the request HOT 1
- [bug / typo]: Typo not correct in UI
- [feature]: automate Importing openapi.json upon change
- [feature]: Generated Authorization token in Collection Properties aware of environment change (or automatic regeneration of token for configured Authorization part)
- [bug]: Response Body content not showing using widget HOT 2
- [bug]: Collection import from Postman results in scrambled folder structure
- [feature]: support authentication via `.netrc`
- [bug]: MacOS tauri build fail HOT 2
- [feature]: When I select the Light background, the cursor color is also white, making it difficult to see where the cursor is when I am typing in the body section. HOT 3
- [bug]: Response body cannot be middle click autoscrolled in PWA
- [bug]: Self Host. Can not Login with Email. Clicked Magic link but 401 HOT 1
- [bug]: Do not have Email / SSO Sign in HOT 2
- [bug]: how to use mailer credential aws ses for mail provider?
- [feature]: Use comments in request body HOT 1
- Dynamic Env Variables HOT 1
- [bug]: Optimise CORS Configuration for Development and Production Environments.
- [feature]: Sorting Environment selection list HOT 1
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 hoppscotch.