Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
114 stars 70 forks source link

Weird behaviour during registration of new account using Github account #9846

Open mimarz opened 1 year ago

mimarz commented 1 year ago

Description of the bug

When registering for Altinn studio using my Github account I got some (maybe false?) errors and warning during the creation process. Got access still after clicking around and closing/reopening browser tab.

Steps To Reproduce

It went more or less like this:

  1. Navigate to https://altinn.studio/ and clicked on "logg inn".
  2. Choose to register with Github account
  3. Prompted to authorize Altinn Studio using Github, accepted ✅
  4. Username was filled with my github username. Email was empty, so I filled in my digdir email here.
  5. Received activate account email with link from studio@altinn.no
  6. Clicked the activation link which sent me to [https://altinn.studio/] activation page, but the description text said the activation link was invalid/expired.
  7. I thought maybe the digdir email needed to be assigned to my github profile, so went and added it.
  8. Navigated to https://altinn.studio and choose to log in again.
  9. Logged in using my github account.
  10. I was able to log in, but prompted with that my account was invalid.
  11. Closed the browser tab. Reopened.
  12. Clicked on the Dashboard tab in the Topbar, and was able to navigate to the other tabs (in gitea), including clicking the logo and seeing all the applications and datamodels.

Additional Information

No response

nkylstad commented 10 months ago

We had another user experience this same issue this week. Something about the flow of creating user with github is messing with the activation email.

nkylstad commented 1 month ago

Related issue: https://github.com/Altinn/altinn-studio/issues/4670