Skip to content

Multiple remotes with logout #307

@jrcastro2

Description

@jrcastro2
          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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions