Problem with Auth0 login (and redirection) on deployed website

Solution 1:

I think I found source of this problem. In Index.js file in redirectUri={"} I had "window.location.origin" which worked on local project but linked to https://michalgornicki.github.io on deployed project. If I paste my website link in redirectUri it now works well.