Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple remotes with logout #307

Open
jrcastro2 opened this issue Jun 20, 2023 · 0 comments
Open

Multiple remotes with logout #307

jrcastro2 opened this issue Jun 20, 2023 · 0 comments

Comments

@jrcastro2
Copy link
Contributor

          Agree on this one... Also, what happens e.g. when you connect multiple OAuth providers to your account? Would it be only the last one that ends up in the session variable? Would it make sense to keep a list/set of remotes like so:
session.setdefault("remote_names", set())  # not sure if set is supported
session["remote_name"].add(remote.name)

Then you could in logout check which of the remotes has a logout_url specified and again make an arbitrary choice, e.g. the first one...

This sounds a bit overcomplicated, and I'm not sure if it makes perfect sense though.

Originally posted by @slint in #304 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant