Open framitdavid opened 1 week ago
We should google and check if other has the same problem using login with Gitea?
@mirkoSekulic Just so you know, this issue also seems to occur when clicking a link that points to Studio, like this one: https://altinn.studio/dashboard/self
https://github.com/user-attachments/assets/5b6f61e4-b002-4e4f-a7c2-f61398918e1b
Problem: When logging into Studio using GitHub, the user is sent on a long journey with multiple redirects: Designer => Gitea => GitHub => Gitea => Designer. This process is too long for Firefox, which throws a redirection error. However, if you click "try again," the user is logged in correctly. This happens because, on retry, fewer redirects likely occur between GitHub and Gitea.
What do to: We need to look into this issue and see if we somehow can reduce the number of redirections when login with Github. Login with username and password works as expected.