Directory Sync : authentik integration #2347
Conversation
|
@golanglemonade there are two things though : first , check the end points , i have put them in client.go , all the other integrations are using sdk so i couldn't find a reference where exactly should i put them , and second is : once you verify it and everything looks good , i'll write the documentation . |
…into feature/authentik
…rrors, and Build handles them
…ded to the directory sync
…into feature/authentik
Signed-off-by: MANAB PRATIM MAITY <79935184+manab-pr@users.noreply.github.com>
|
| services: | ||
| postgresql: | ||
| env_file: | ||
| - authentik.env |
There was a problem hiding this comment.
Since this is a dev setup, we can provide this. Add it to docker/configs/authentik and add the required env vars, e.g.:
AUTHENTIK_BOOTSTRAP_PASSWORD=akadmin123
That way it will just work without additional user setup to test this.
| POSTGRES_DB: ${PG_DB:-authentik} | ||
| POSTGRES_PASSWORD: ${PG_PASS:?database password required} |
There was a problem hiding this comment.
Same here, this is a dev env so we can set this up.
Alternatively, can we use the same postrgres container is is already coming up as part of the main stack and just create the db in there?
| AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik} | ||
| AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS} | ||
| AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik} | ||
| AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:?secret key required} |
There was a problem hiding this comment.
This should also be set and not required
golanglemonade
left a comment
There was a problem hiding this comment.
nice work, @manab-pr. this is great.
I tested locally and all seems to work:
Just a few final comments. Once we get docs in we can PR this again to set to active + visible. 🚀
…y_sync.go Co-authored-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Signed-off-by: MANAB PRATIM MAITY <79935184+manab-pr@users.noreply.github.com>
…y_sync.go Co-authored-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Signed-off-by: MANAB PRATIM MAITY <79935184+manab-pr@users.noreply.github.com>
Co-authored-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Signed-off-by: MANAB PRATIM MAITY <79935184+manab-pr@users.noreply.github.com>
Co-authored-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Signed-off-by: MANAB PRATIM MAITY <79935184+manab-pr@users.noreply.github.com>


closes : Directory Sync #2342
Directory Sync Authentik implemenation