You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Alfredo Revilla (Jira)" <ji...@apache.org> on 2021/02/01 15:59:00 UTC

[jira] [Created] (ZEPPELIN-5230) Apache Zeppelin 0.8 and 0.9 configured for OIDC redirects to http://localhost:8081/null

Alfredo Revilla created ZEPPELIN-5230:
-----------------------------------------

             Summary: Apache Zeppelin 0.8 and 0.9 configured for OIDC redirects to http://localhost:8081/null
                 Key: ZEPPELIN-5230
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5230
             Project: Zeppelin
          Issue Type: Bug
         Environment: * Windows 10 
 * JDK1.8
            Reporter: Alfredo Revilla


I've tried with both Apache Zeppelin 0.8 and 0.9 + pac4j and the problem is the same. When visiting the app root at http://localhost:8081/ I get redirected to http://localhost:8081/null. log4j does not output anything that may help.

This is my shiro.ini file:

{{[main]}}
{{sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager}}
{{securityManager.sessionManager = $sessionManager}}
{{securityManager.sessionManager.globalSessionTimeout = 86400000}}{{oidcConfig = org.pac4j.oidc.config.OidcConfiguration}}
{{oidcConfig.discoveryURI = http://localhost:8080/auth/realms/Test/.well-known/openid-configuration}}
{{oidcConfig.clientId = Zeppelin}}
{{oidcConfig.secret = e15b220e-9b3c-4997-9a76-81086e3e1ca3}}
{{oidcConfig.clientAuthenticationMethodAsString = client_secret_basic}}
{{oidcClient = org.pac4j.oidc.client.OidcClient}}
{{oidcClient.configuration = $oidcConfig}}
{{clients = org.pac4j.core.client.Clients}}
{{clients.callbackUrl = http://localhost:8081/api/callback}}
{{clients.clients = $oidcClient}}{{requireRoleAdmin = org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer}}{{config = org.pac4j.core.config.Config}}
{{config.clients = $clients}}{{pac4jRealm = io.buji.pac4j.realm.Pac4jRealm}}
{{pac4jSubjectFactory = io.buji.pac4j.subject.Pac4jSubjectFactory}}
{{securityManager.subjectFactory = $pac4jSubjectFactory}}{{oidcSecurityFilter = io.buji.pac4j.filter.SecurityFilter}}
{{oidcSecurityFilter.config = $config}}
{{oidcSecurityFilter.clients = oidcClient}}
{{callbackFilter = io.buji.pac4j.filter.CallbackFilter}}
{{callbackFilter.defaultUrl = http://localhost:8081}}
{{callbackFilter.config = $config}}{{[urls]}}
{{/api/version = anon}}
{{/api/callback = callbackFilter}}
{{/** = oidcSecurityFilter}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)