Appsync Http-only cookie delivery.

0

my design is setting up auth token and refresh token storing in http-only cookie. i do generate http-only cookie via api gateway and lambda. i successfully store the token in cookie. my design want to pass the cookie within request to appsync for some authenticated service. the authentication logic will be verify token when client pass request with cookie to appsync in lambda resolver. i have set the cookie as header even with proxy server. However, in appsync endpoint, i still cannot receive cookie header. Any solution can make appsync receive custom cookie header then passing to lambda do verification? My target apply region is in HK where do not support cognito. My design will main rely in graphql api (appsync) and only api gateway for cookie distribution.

yytek
demandé il y a 5 mois77 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions