Closed briri closed 2 months ago
Not sure if we will need this. It depends on how we are going to manage user Auth in general, Cognito with the Shib solution outlined in this ticket or if we will host Shib in an ECS cluster and then either host the logic for email+password authN here or in a Lambda or another external service.
Plan will be to add passport to the Apollo server as middleware. We will want it to handle:
Decided not to use Passport due to its complexity and "black box" handling.
Instead, we:
We need to add authentication logic to the Apollo server.
See: https://www.apollographql.com/docs/apollo-server/security/authentication