Closed nynymike closed 1 year ago
Not sure what is the default acr, because I can't use the CLI...
this issue is with all distributions
I've investigated this blank page issue. In short it redirects to /agama
which returns blank content. Before when we installed AS, agama was not enabled. It sounds like we enabled it by default recently.
To see it TRACE
logs has to be enabled.
2023-03-17 16:34:28,312 TRACE [qtp952562199-20] bf4bdffd-e607-4dde-ba03-c21d906f5b9b [as.server.authorize.ws.rs.AuthorizeAction] (AuthorizeAction.java:308) - Redirect to person authentication login page: /agama.xhtml
Recent changes are:
Here is how AS behaves currently:
Result: blank page because "/agama.xhtml" is blank.
How do we want to proceed with it? Possible solutions: a) disable "agama" custom script -> AS will fall back to "/login.xhtml" and will allow user to login. It was AS behavior before agama enabled by default. b) enable "basic" and set jansAuthMode: basic. AS will find script and will redirect to it. c) provide fallback for "/agama.xhtml" so it renders default username/password page if there no flows. d) your proposal here ?
Question is how do we want it to work all together. We have to establish clear path so we avoid confusion in future.
We agreed to set "useHighestLevelScriptIfAcrScriptNotFound" to "false", so AS does not look up script itself.
@yuriyz I could get working flow (obtaining of tokens), using /opt/jans/jans-cli/config-cli.py after disabling of these changes: https://github.com/JanssenProject/jans/commit/7e432dcde57657d1cfa1cd45bde2206156dc6905 As temp solution.
@smansoft right, with disabled agama it works. Question is how to get it working with agama.
After fresh install of Jans 1.0.0-10, I get a whitescreen when I login using device flow.
In
jans-auth_script.log
:In
jans-auth.log
:Apache Log for a different request: