You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself in a position where I need to login the user on the same browser with a different channel, sometimes shortly after authenticating with one. If i let the user click the link to authenticate then it just immediately takes him to the redirect uri without the chance of selecting a different account/channel(youtube). I think this problem should be solvable by using the 'login_hint' parameter that does not seem to be available in this library.
This is the documentation for the parameter login_hint which says:
When your app knows which user it is trying to authenticate, it can provide this parameter as a hint to the authentication server. Passing this hint suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session (if the user is using multiple sign-in), which can help you avoid problems that occur if your app logs in the wrong user account. The value can be either an email address or the sub string, which is equivalent to the user's Google ID.
I might try to poke around the code and implement this myself when I get the time for it, but I'm not too good at Rust yet so any help or guidance would be appreciated.
The text was updated successfully, but these errors were encountered:
I find myself in a position where I need to login the user on the same browser with a different channel, sometimes shortly after authenticating with one. If i let the user click the link to authenticate then it just immediately takes him to the redirect uri without the chance of selecting a different account/channel(youtube). I think this problem should be solvable by using the 'login_hint' parameter that does not seem to be available in this library.
This is the documentation for the parameter login_hint which says:
I might try to poke around the code and implement this myself when I get the time for it, but I'm not too good at Rust yet so any help or guidance would be appreciated.
The text was updated successfully, but these errors were encountered: