Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Unable to Authenticate to AWS SFTP Transfer Family using Crowd #10

Open
guyinhat opened this issue Mar 8, 2022 · 0 comments
Open

Unable to Authenticate to AWS SFTP Transfer Family using Crowd #10

guyinhat opened this issue Mar 8, 2022 · 0 comments

Comments

@guyinhat
Copy link

guyinhat commented Mar 8, 2022

Ive built a Lambda in Python to auth with Atlassian Crowd, I get the correct HomeDirectory Response and so on, but I am unable to authenticate that to the AWS SFTP Transfer Family Service. When I try I get:

msg: "Missing cookie "access_token_cookie""

Using Cognito is not an option for this request. For comparison this Lambda gets the exact response Cognito provides, with different request headers.

From the documentation for AWS SFTP Transfer Family , verbatim, it says this:

"The JWT tokens are set in the access cookie (default name is set to access_token_cookie)
and refresh cookie (default name is set to refresh_token_cookie) respectively. The tokens are used in
subsequent HTTPS requests from the client to the web application where the python backend decrypts
JWT tokens using KMS Decrypt API to get the username and password for that request and authenticate"

Trying to replicate that ^

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant