Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve AWS integration docs #650

Open
1 of 9 tasks
rishabhpoddar opened this issue May 5, 2023 · 0 comments
Open
1 of 9 tasks

Improve AWS integration docs #650

rishabhpoddar opened this issue May 5, 2023 · 0 comments

Comments

@rishabhpoddar
Copy link
Contributor

rishabhpoddar commented May 5, 2023

  • Add a note saying that the apiDomain value should be your aws lambda url in “backend config” section (at the end)
  • Add note about testing in the docs that we don’t support it.
  • In Setting up API gateway, first point about creating base path /auth, we should mention that we need to create a resource /auth
  • When adding the middleware, add it to the index.js and not auth.js file.
  • We should change the snippets to work with .mjs files
  • Mention that API domain should be changed to the URL on which you reach the lambda function
  • Mention that if getting 502, see logs and also check for timeout setting in aws lambda
  • In “Using session verification” section, change auth.ts to some other file name.
  • In your lambda functions, make sure to set statusCode explicitly to 200 cause middy sends 500 by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant