I'm working on integrating Cerner OAuth2 login into my React-based frontend application, and I'm using Auth0 as the identity platform.
My goal is to allow users to sign in using their Cerner credentials, but I want Auth0 to manage the authentication process via a custom social connection (rather than implementing the OAuth flow directly in my app).
Here’s what I’m trying to achieve:
- I’ve created a Custom Social Connection in Auth0 where I plan to use Cerner’s OAuth 2.0 endpoints.
- From the frontend, users will click “Sign in with Cerner,” which triggers
loginWithRedirect({ connection: 'cerner' }) using Auth0’s React SDK.
- Auth0 should then initiate the OAuth2 flow with Cerner, using the client credentials and redirect URIs I provide.
- After successful login, Auth0 will return an ID token or access token to the frontend, which I can use for API access.
Questions:
- Are there official OAuth2 endpoints for Cerner (e.g., authorization URL, token URL, userinfo endpoint) that I can use for this integration?
- Is there any special registration process for Auth0 to be approved as a third-party identity integrator with Cerner?
- Do Cerner's OAuth scopes allow fetching user profile or identity information (e.g., email, name) for use in the Auth0 user profile?
- Are there any additional headers or parameters required during token or authorization requests specific to Cerner?
- Is this method of integration compliant with Cerner’s guidelines, or would you recommend another approach?
Any guidance, examples, or official documentation links would be greatly appreciated.
Thanks in advance!