Comments (3)
@yurem How would you like to see this re-try initialization on request process work?
from gluu-passport.
This app gets configuration from oxTrust. But it also requires oxAuth because this endpoint protected by UMA. Hence Passprot in some case can't get it configuration. As result it just print error in log.
Passprot app should try to get configuration at startup and store load_configuration_state
(now it just print error). On next request to app context it should check load_configuration_state
and try to obtain configuration again.
Also it will be useful to add timer process to get up to date configuration from oxTrust periodically to avoid Passport restart.
from gluu-passport.
With this fix, a timer task runs upon service start and at every 30s it hits the endpoint /identity/restv1/passport/config
using the UMA 2 flow.
If some error is found in any of the flow steps (e.g. underlying ox services down), a message is added to log, but the service continues up and running. Hopefully in a subsequent execution a resonse will be obtained successfully.
Also, from now on there is no need to restart passport if a strategy clientid/secret is added/changed.
from gluu-passport.
Related Issues (20)
- Add support to configure production.js params using envs HOT 1
- Rate-limiting settings being loaded from `node-config` instead of application HOT 2
- remove rate-limit feat - patch HOT 2
- Validator `configDiscovery.validate` is returning data instead of if data is valid or not
- logging "dateTime" test is misplaced and has no action trigger HOT 4
- Invalid Signature error throws browser in redirect loop HOT 2
- update node engines in package.json as per openid-client 5.1.1 requirements
- Upgrade project to use ESM imports HOT 1
- passport-oauth2 moderate severity vulnerability
- Not able to authenticate when using cache provider
- update node version to support latest alpine 3.16 for CN
- feat: allow rate limit settings to be loaded from env
- Passport social login failed. HOT 3
- SAML authn response signature validation bypass due vulnerable component HOT 2
- deprecated packages found in Gluu-server 4.5.0 build HOT 2
- passport-tumblr is unmaintained for 10 years
- `passport-oxd` is deprecated
- fix: extra scope are not sending in passport HOT 2
- PR #547 introduced SAML `inResponseTo` validation related security issue and didn't add notes about other breaking changes to user documentation
- Invalid document signature ERROR
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 gluu-passport.