-
-
Notifications
You must be signed in to change notification settings - Fork 3
Static authentication class is not working #583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @yuvalgersho, as the error message What you probably need to do is to use OIDC or LDAP (if possible), or use an off-the-shelf Superset (e.g. from the getting started guide), and use the admin account to create user accounts via the Superset webinterface. I hope this helps! |
The UI workflow may be a no-go in some cases (like CI/CD for example). The operator should be able to create additional users (and possibly new roles) together with the admin user as part of the cluster setup. |
Yes this is true, it should be able to do so. However, currently the codebase of Superset dosen't allow another authority over roles and their permission except itself. It is possible to map roles from e.g. OIDC or LDAP, soonish also from OPA. To map from OIDC / LDAP it is necessary to create used Roles either:
Superset just can't use users outside of its own postgres. Thus the only way to have a CI/CD workflow with user management and superset is to use a provider like Keycloak and such and leave it to them. This won't mitigate the problem that those roles do not exist and do not have permissions if not set manually in Superset. This might change over time as they want to rework the authentication codebase upstream. For now we are left with this. |
Affected Stackable version
24.11.1
Affected Apache Superset version
No response
Current and expected behavior
I tried to configure static authentication class for my superset cluster.
the authentication class itself worked:
but when i used this authenticationClass in the SupersetCluster instance i got this error:
this is the SupersetCluster.yaml file:
any suggestions?
Possible solution
No response
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
None
The text was updated successfully, but these errors were encountered: