p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
Other
361 stars 65 forks source link

fix issue with duplicate grant flow being created on each startup #231

Closed ipuljak closed 1 month ago

ipuljak commented 1 month ago

While doing some local development, I noticed that a new Org Direct Grant authentication flow was being duplicated each time I booted up the container. I noticed that the Org Browser flow had an existing check, but not the Org Direct Grant flow. This PR adds that same check for the second flow as well.

Screenshot 2024-05-09 at 10 27 54 PM