EJBCA + Entra ID - Auto-fill username & CN from OAuth claims?
Hi guys,
Just deployed EJBCA CE 9.3.7 integrated with Entra ID. Access to the RA portal works fine for my users, but now I'm stuck on the enrollment UX.
When a user clicks "Request a certificate", I want zero friction. Since they are already authenticated via Entra ID (OAuth), I don't want them to type anything.
Is it possible to automatically grab their email from the OAuth token claims and:
- Use it as the End Entity username?
- Automatically inject it into the Subject DN as the CN (e.g.,
CN=user@domain.com)?
Right now, it still prompts for a username or manual inputs. Can this be fully automated via End Entity Profile / Claim mapping in the Community Edition, or is it a dead end?
Thanks for the help!