p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
https://phasetwo.io
Other
401 stars 68 forks source link

Docker example? #5

Closed Ross-ForAllSecure closed 2 years ago

Ross-ForAllSecure commented 2 years ago

Very interested in this project, but I'm having a heck of a time getting it to run. Any possibility of cooking up a Dockerfile or even a docker-compose setup?

Looking forward for taking this code for a spin!

Ross-ForAllSecure commented 2 years ago

I have some semblance of a docker setup running in pull request https://github.com/p2-inc/keycloak-orgs/pull/6 .

I'm seeing messages like

[io.phasetwo.service....

So, it appears to be installed.

Unfortunately when I click on the Authentication page, I do not see the "Invitation" Flow, nor the "Invitation Browser" under the dropdown.

image

Any chance of looking at that Dockerfile to see what I'm doing wrong? https://github.com/p2-inc/keycloak-orgs/pull/6/files#diff-2f47544ee814d438d1fe01f45ca3b4f8f71c9cbced0248423745db824de244ab

fgarioli commented 2 years ago

I had to create a new flow like the docs image and override it on the client. It worked for me.

Ross-ForAllSecure commented 2 years ago

Thanks @fgarioli . I didn't catch that I had to run through all that configuration.

xgp commented 2 years ago

You'll need to recreated the flow here: https://github.com/p2-inc/keycloak-orgs#invitations