-
Notifications
You must be signed in to change notification settings - Fork 177
Description
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.