Hi @justin.cassidy,
Welcome to the Auth0 Community!
Firstly, for the Callback URL to work, please make sure to:
- Add the URL to the Allowed Callback URLs list in your application settings (Auth0 Dashboard > Applications > Applications > Your Application > Allowed Callback URLs).
- Make sure the
redirect_uri
query parameter points to a URL that is from the list of Allowed Callback URLs.
The URL should be passed into the redirect_uri
property inside the authorizationParams object. See below:
onClick={() => loginWithRedirect(authorizationParams: { redirect_uri:'https://parentsite/myReactSPA/'})}
Could you please give this a try and let me know how this works for you?
Thanks,
Rueben