Login issue - AWS Cognito

we are trying to add login with huggingface into our app but we have the following problem:

we have added huggingface.co as a provider in our AWS cognito

we have added custom field hf_sub in order to store the sub value returned by huggingface

the problem we are facing is that AWS cognito requires ID_TOKEN but we don’t get ID_TOKEN and we only receive ACCESS_TOKEN

we have exhausted everything that we could think of to no avail

we appreciate if anyone can help us with this as we are falling behind and under pressure

many thanks

1 Like