pmill / aws-cognito

A PHP library for AWS Cognito user pools
MIT License
74 stars 62 forks source link

authenticateUser without AWS credentials #49

Open jverdeyen opened 3 years ago

jverdeyen commented 3 years ago

Hi all!

I'm developing an application with the Filemaker API. Authentication tokens are required and Filemaker Cloud uses Cognito to fetch the correct tokens.

A javascript howto : https://help.claris.com/en/customer-console-help/content/create-fmid-token.html

I've tested this and the javascript example is working.

But I can't get this to work with the aws-cognito implementation, AWS credentials are needed.

Anyone who knows where I should start looking? I've tested the authenticate of the CognitoClient. But I get an unauthenticated result (403). It seems that the PHP SDK isn't working without credentials provided (as in the javascript example).

Thanks!