cloudfront-auth icon indicating copy to clipboard operation
cloudfront-auth copied to clipboard

Add Cognito plugin

Open nodomain opened this issue 6 years ago • 5 comments
trafficstars

It would be awesome if a Cognito example could be provided, since this is AWS native. Currently I am struggling how to read additional attributes. provided by Cognito. Perhaps you can point me into the right direction.

Thx :)

nodomain avatar Feb 13 '19 21:02 nodomain

I will look into this. Personally, I'm not very familiar with Cognito. Pull requests are always welcome, too. 😄

payton avatar Feb 19 '19 14:02 payton

AWS Cognito should be added soon. As far as I can tell, this branch should be working as is https://github.com/Widen/cloudfront-auth/tree/cognito

I would like to test a bit more before merging into master.

payton avatar Feb 28 '19 15:02 payton

Will have a look. Thanks!

nodomain avatar Mar 10 '19 21:03 nodomain

I've used integration with Cognito to protect the CloudFront distribution and everything works fine. I believe that you can merge this changes into master.

Olga-Sh avatar Jul 10 '20 12:07 Olga-Sh

I've just given the Cognito branch a try however am getting the error:

{"code":"BadRequest","message":"The server did not understand the operation that was requested.","type":"client"}

Assuming I might have done something wrong with the callback / setup however

lawrence-c avatar Jul 22 '20 15:07 lawrence-c