Open nodomain opened 5 years ago
I will look into this. Personally, I'm not very familiar with Cognito. Pull requests are always welcome, too. 😄
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.
Will have a look. Thanks!
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.
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
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 :)