Skip to content

signOut / getSessionId should not be part of helpers #326

@ycmjason

Description

@ycmjason

Hello,

Thanks for the great work!!

oauthConfig is not referenced at all in signOut and getSessionId (see here).

They work are "provider-agnostic" so they shouldn't be bound under a provider config.

I would like to suggest them to be moved back out from Helpers. This way when implementing user auth with multiple providers, the sign out / get session id flow wouldn't be confusing.

I am happy to pick this up if the author agrees with the vision.

Jason

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions