I want to implement OAuth to my react app, however I’m using aws lambdas aka serverless I’m thinking of manually implementing GitHub OAuth and creating the get and post requests in my own lambda backend or Using aws-cognito, are there any alternatives anyone would suggest?
Don't implement it yourself unless you're a security software engineer with years of experience implementing AuthN/Z systems. Use well established libraries or existing services. Edit: TC or gtfo
Cognito, API Gateway, Lambda, is easy to set up and good enough for most use cases. If you have particularly exotic requirements then it’s worth looking at other options, Cognito has it’s quirks and limitations.
Cognito and dynamo has a weird setup right? I want to store users in dynamodb so I was thinking of having a lambda trigger for ever create user cognito event to add user to db
Try Stytch