xianchang.yue created ZEPPELIN-5517:
---------------------------------------
Summary: OpenID Connect Auth Immediately Redirects to /null
Key: ZEPPELIN-5517
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5517
Project: Zeppelin
Issue Type: Bug
Components: rest-api, security, zeppelin-server
Affects Versions: 0.10.0, 0.9.0, 0.8.2
Reporter: xianchang.yue
Attachments: image-2021-09-13-16-41-09-775.png, shiro.ini
I've tried many times following some of the configurations above, but for some
strange reason, keep getting redirected to
{{[http://ZEPPELIN_ROOT/null|http://zeppelin_root/null]}}. It appears that a
request for
{{[http://ZEPPELIN_ROOT/api/security/ticket|http://zeppelin_root/api/security/ticket]}}
is denied ("401 unauthorized request") and subsequently redirected
to\{{/null}} (It does this very quickly). Strangely enough, however, I can
manually access
{{[http://ZEPPELIN_ROOT/api/security/ticket|http://zeppelin_root/api/security/ticket]}},
login, and then once I manually navigate to
{{[http://ZEPPELIN_ROOT|http://zeppelin_root/]}} it shows I'm logged in.
I can pass the test in the buji-pac4j-demo project through shiro.ini, I'm not
sure what the fix should be, but it looks like this is definitely a Zeppelin
issue, not a pac4j one.
!image-2021-09-13-16-41-09-775.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)