Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you look at the chain of redirects during your Google login you'll be redirected to youtube.com before redirecting back to Google.


What. The. Heck.

Is this considered a dark pattern?


Its called sso single-sign-on. you log in one website and every other just redirects to website 1 and get redirected back.


Is there a limit on how many additional websites can receive my login information in the background like this? I feel like this should be more regulated by the browser.

As a Firefox user, I would prefer if the browser informed me about this. If I sign in on Google, Firefox should include this information in the “Remember password” popup. A small warning that says something like, “This login information was shared with youtube.com”.


It is regulated in the browser - that's why Google has to explicitly redirect you to YouTube and pass the secret value in the URL since YT can't access your Google session cookie.

YouTube is owned by Google so they can make both websites cooperate to share data between each other, working around the browser's same-origin policy.


What I mean by regulation:

- There is a limit on how many sites the login information can be shared with without notifying the user.

- If the login information is attempted to be shared with a website that is a known tracker, the process is stopped, and the user is explicitly prompted to allow this.


As long the server supports it, nearly infinite, but most protocols require an redirect, since they can't access the cookies of the loginsite.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: