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)
Then you could in logout check which of the remotes has a
logout_urlspecified 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)