Struggling to implement OpenID in React

The code in https://auth0.com/authenticate/react/auth0-oidc/ is incomplete - is there a thorough explanation of how to get OpenID working on a client-side react app?

I’ve successfully implemented a basic OAuth using these great instructions, but it’s unclear if this is necessary to implement OpenID.

Has anyone a good beginner’s resource to implement OpenID in a react app?
A small working example or a more complete tutorial would be helpful.

Hi @stephenkoo,

Welcome to Auth0 Community, thanks for bringing us your question!

Here’s a link to a fairly in-depth tutorial which uses React with OpenId Connect. OIDC isn’t explicitly mentioned however if you check the scope parameters being used you’ll see ‘openid’ as the first one which indicates an OIDC-conformant flow.

Hope this helps resolve some OIDC questions!

Best Regards,
Colin