Skip to content

[Question] General auth strategy #30

@SachaG

Description

@SachaG

I'm sure I could answer my question with a close enough look at the code, but I'm not super familiar with GraphQL modules and other concepts employed by the codebase yet so I thought it might be quicker to just ask directly.

Basically, I'm wondering what auth strategy is employed by the app? I saw that it uses Passport, but does it use Passport's "normal" patterns and endpoints, or does the auth also go through the GraphQL layer? In other words, would signing up, logging in, etc. all be treated as GraphQL mutations? Or just requests to endpoints?

FWIW I've been asking around and most GraphQL apps seem to keep the auth layer separate from GraphQL, and it does seem like this is also what this app does, but I wanted to double check and maybe hear more about what lead you to adopt this approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions