Thanks very much for you time! That sound like a viable solution - I’ll give it a try. I’ll just have to find out how to separate my global Auth0Provider
(as provided in the Auth0 React-SDK examples) for the 2 buttons (both located next to each other in the header):
ReactDOM.render(
<React.StrictMode>
<Auth0Provider
domain="example-dev.com"
clientId="12345"
redirectUri={window.location.origin}
>
<App />
</Auth0Provider>
</React.StrictMode>,
document.getElementById("root")
);
Currently both my buttons simply both call:
<button onClick={() => loginWithRedirect()}>Adult Sign In</button>
<button onClick={() => loginWithRedirect()}>Kid Sign In</button>
Not sure how I will do that yet for the reasons mentioned above but I’ll give it a go.
Best regards,
Michael