SSO Project Evergreen Notes
Create a new API Gateway (api.snapraise.com) that is able to host all backend services
Research the best way for multiple API Gateways to work together
Is there a way for the Snap Payments API Gateway to live behind the main API Gateway?
Do we need to set up some type of nesting or routing?
Put Snap Payments behind the main API Gateway
Add the ability to set up provision Amazon Cognito + User Pool configuration
Locate Snap Spend database and configuration
Maybe also talk to the spend team about how they’re going to Dockerize this in the future?
We should set up an Example Boilerplate project for everyone else to use as a template
Use Snap UI if possible
Ready to connect to GraphQL
Should have database management (Knex or Prisma)
Setup GraphQL Federation service
Put GraphQL Federation service
Create an SSO Login App in Vue.js
Need to use our Boilerplate
Research how to redirect after successfully authenticating with the Vue Login Portal back to another application
Use the Adapter pattern so that the service can be easily changed
Configure domain for SSO Login App (accounts.snapraise.com or sso.snapraise.com)
Create a demo application that redirects to the Login Portal when they are not logged in and receives an authenticated user callback after success
Add a callback to Amazon Cognito to add user’s Cognito ID to the User Directory
Create User Directory service using our backend boilerplate code
This should provide a GraphQL API with users data
Research the database schema for Snap Raise users and Snap Spend users
Determine how we want to merge both of these records
Identify if there are any associated tables that should come with them
Create a migration script to pull over the users from Snap Spend
Create a migration script to pull over the users from Snap Raise
Roles and Permissions
Need to meet with product teams to create a unified schema for Roles + Perms
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (