Cannot configure KeycloakOIDCFilter with Spark UI #11565
Unanswered
bsolomon1124
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
We are attempting to use
KeycloakOIDCFilteras our Apache Spark UI filter. However, we are struggling to configure theKeycloakOIDCFilteritself.We have, in spark-defaults.conf:
This is picked up successfully, and the Spark master logs show this filter being applied to all URL routes.
We have generated a client config file in the Keycloak Admin Console, which has spit out a
keycloak-oidc.json.But how do we tell
KeycloakOIDCFilterabout this information?From the Spark docs
In our case that would seem to be:
However, the KeycloakOIDCFilter Java class has only two constructors. One takes no parameters at all and one takes a
KeycloakConfigResolver.The Keycloak Java servlet filter adapter docs only talk about
web.xmlwhich isn't applicable in the case of configuring Spark.So how can we properly configure/point to parameters for the
KeycloakOIDCFilterservlet filter?Version
16.1.1
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions