readthedocs / ext-theme

Read the Docs drop in replacement site templates
2 stars 2 forks source link

SSO authed users spammed with sign in notifications #258

Closed agjohnson closed 8 months ago

agjohnson commented 9 months ago

Honestly, I'm not sure where this is coming from or why. To reproduce:

Screencast from 2023-12-20 19-15-43.webm

This comes from Django messages template code, so wouldn't involve JS to clear the notification. It's the only notification I noticed this with.

humitos commented 8 months ago

Hrm... I can't reproduce this with my own GH user. I only see this notification once when I sign in.

agjohnson commented 8 months ago

This was only happening for the readthedocs-sso-2 user, it wasn't happening on my normal user or the readthedocs-sso-1 GitHub account.

I'm guessing this was maybe related to the GitHub organization/team membership. The readthedocs-sso-2 user was removed from the GitHub org/team. I can't reproduce this one now, I only get one notification logging in with the readthedocs-sso, so I suspect that probably was the cause.