Aut0 login loading state

I have create an app, using the new universal login and using the library @auth0/nextjs-auth0 for login flow.
After the user writes his username and password and clicks login button the redirects from auth0 to my landing page take a while, like 1,5 seconds before the landing page of my application starts rendering.
Considering this is there a way to add a loading state, spinner or image while this redirects are occurring so that the flow is more user friendly.

If not is there a way to improve the performance of the login flow?

Thank you.