Hey guys,
I experimented with "Add Identity by URL" about a year ago and came back to it now. I noticed there are now some new Auto Enrollment options in ZAC under JWT Signers, but I haven't been able to find much documentation describing how they work.
Based on the description, my understanding is that with Auto Enrollment enabled, I shouldn't need to manually create an identity in ZAC first. Instead, when a user authenticates via the JWT signer, the controller should automatically create the identity and enroll it.
Is that correct?
I wasn't able to get this working. When I tried the auto-enrollment approach, the controller logs showed:
identity not found by externalId
However, when I followed the "old" workflow:
- Create the identity manually in ZAC
- Set the identity's External ID to match the Keycloak user's email
- Add identity with URL and login with the flow
...everything worked as expected.
This makes me wonder if I'm misunderstanding how Auto Enrollment is supposed to work, or if I'm missing some required JWT signer configuration.
For reference, the ZAC UI describes Auto Enrollment as:
- Auto-Enroll to Cert: Automatically creates an identity and enrolls it with a certificate when a user authenticates via JWT.
- Auto-Enroll to Token: Automatically creates an identity and enrolls it with an authentication token when a user authenticates via JWT.
Is there any documentation, example configuration, or working JWT signer setup that demonstrates Auto Enrollment end-to-end?
Also, there is no way to close the description that opens when you click for more information which sucks when you just made a new signer and can't save it as the save button is covered as shown below D:
Thanks!
Controller: 2.0.4 ZAC: 4.5.1
