Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How to authenticate api calls after github login #2472

Closed
mulib opened this issue Aug 1, 2021 · 0 comments
Closed

How to authenticate api calls after github login #2472

mulib opened this issue Aug 1, 2021 · 0 comments
Labels
question Ask how to do something or how something works

Comments

@mulib
Copy link

mulib commented Aug 1, 2021

Question 💬

I'm using aws lambda for apis. Requests are authenticated using aws cognito sdk. I would like to ask what is the best approach in order to use the session and token retrieved by github login to authenticate my api calls (hosted on Lambda and not nextjs api routes)

How to reproduce ☕️

using the basic documentation for github provider works OK. I wander how to authenticate my existing apis on aws Lambda

Contributing 🙌🏽

Yes, I am willing to help answer this question in a PR

@mulib mulib added the question Ask how to do something or how something works label Aug 1, 2021
@nextauthjs nextauthjs locked and limited conversation to collaborators Aug 1, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Ask how to do something or how something works
Projects
None yet
Development

No branches or pull requests

2 participants