Comments (5)
The problem is even more general: if I simply add return False
in this line of the script, the blank page is shown.
In most circumstances authenticate
function just returns the value of attemptAuthentication
, which in this case is False
.
I don't see why it is not simply showing the login page with error message. Also, the script in 3.1.5 hasn't changed in a significant way. Actually, the same could be happening in SAML scenario.
from gluu-passport.
@syntrydy @jgomer2001 Are you getting it in latest CE build?
@jgomer2001 I've tried to modify basic script as you offer:
def authenticate(self, configurationAttributes, requestParameters, step):
return False
But this not led to redirect to postlogin page.
from gluu-passport.
On authentication failure (when script return False) this method return Constants.RESULT_AUTHENTICATION_FAILED
which not led to user redirect to other page
from gluu-passport.
I'm using 3.1.5_1-4
def authenticate(self, configurationAttributes, requestParameters, step):
return False
behaves as expected, but
def attemptAuthentication(self, ...):
return False
ends up in the blank page.
from gluu-passport.
Latest update to Authenticator class fixed this, GluuFederation/oxAuth#972
from gluu-passport.
Related Issues (20)
- Passport logs printing wrong datetime
- 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
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.