fix(jans-auth-server): "login:prompt" property passed in request object JWT breaks authentication #2493
Labels
comp-jans-auth-server
Component affected by issue or PR
kind-bug
Issue or PR is a bug in existing functionality
Milestone
Describe the bug
Issue comes from oxauth report
GluuFederation/oxAuth#1712
As reported in ticket 10741, if
login:prompt
property is included into a request object JWT, user is stuck into an endless cycle of getting presented with login page, and cannot authenticate. The issue doesn't occur whenlogin=prompt
is passed as a parameter in url query string.Preconditions
Steps To Reproduce
request=...
url query parameter (see an example below)Expected behavior
User is logged in, even in case when they already have a session at oxAuth (no SSO)
Actual behavior
Login doesn't happen, user is redirected to oxAuth login page again, caught in an endless loop. No errors can be seen in logs
An example of request object JWT payload that can be used to reproduce the issue ("client_id" and "iss" properties may need to be substituted with meaningful values):
Header:
Body:
Base64-encoded form with no signature:
Support: 10741
The text was updated successfully, but these errors were encountered: