-
Notifications
You must be signed in to change notification settings - Fork 2
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
Documentation #2
Comments
Hello! Most of the variables are the same as the ones used in the mozilla-django-oidc package. This documentation for customizing the We will try to provide documentation at a later point. If you still have any questions, feel free to contact me or submit another issue. |
so do i have to add settings like "OIDC_OP_TOKEN_ENDPOINT" under the [django] - section in pretix.cfg? |
Yes, or as an environment variable. |
In oretix.cfg there is a Authentication Backends setting. Have you set it to point to this backend? |
no i dont ;) is this setting correct?
(so i can use user-password-auth and keycloak-auth) |
replace the authentication_url and use the Python path to the backend: pretix_oidc.auth.OIDCAuthBackend You can double-check the path via the source-code |
okay... we're getting forward ;) when using this:
i get the following error: so i tryed this:
but this doesn't seem to fix it: i'm sorry, im not a python developer, i just want to setup pretix with keycloak ;) |
here's the complete stacktrace:
|
is there any [pretix_oidc] - specific config i have to set in pretix.cfg? it seems OIDC_OP_* and OIDC_RP_* keys are correct under the [django]-section... right? |
after short source-check i think
is the right way to go ;) |
so i think this is the error i don't understand now:
|
So it seems pretix isn't finding the plugin default URLs... |
Have you changed URL settings on Pretix? not that i know, its a fresh docker-container of pretix |
You're almost there! Thats a weird error, ill try to simulate your environment and check if I get to that error too. But in theory thats all the configuration you need to do. The roles on keycloak will be mapped to teams inside pretix. |
i don't know if this is relevant, but i use pretix behind a traefik-proxy... |
This is a Django error you're getting. Some kind of installation step failed or configuration mismatch. |
is there anything i can do to hunt the error down? |
okay, i didn't come any further, but i think i wrote down the steps i already accomplished: can anyone help with getting this up and running? |
@jlucasp25 where you able to recreate the error? |
@jlucasp25 ping! i can you recheck my configuration? i'm not sure if everyhting i did is right, and i'm still not able to solve the problem... i'll attach my pretix.cfg
|
Hey guys, is there any documentation anywhere on how to configure this plugin?
The text was updated successfully, but these errors were encountered: