aws / aws-sdk-net-extensions-cognito

An extension library to assist in the Amazon Cognito User Pools authentication process
Apache License 2.0
102 stars 49 forks source link

Include support for AnalyticsMetadata in initiateAuthRequest and InitiateSRPAuthrequest #147

Open rajneeshmadan opened 1 week ago

rajneeshmadan commented 1 week ago

Describe the feature

In Cognito provider with initiateAuthRequest and other API.. AnalyticsMetadata is supported but is not added in this extension.

Use Case

For Pinpoint Analytics this field is required

Proposed Solution

Change InitiateAuthRequest and InitiateRequest to add Analyticsmetatdata attribute as well (similare to clientmetadata)

Other Information

No response

Acknowledgements

AWS .NET SDK and/or Package version used

AWS SDK

Targeted .NET Platform

.Net framework 4.7

Operating System and version

Windows

bhoradc commented 1 week ago

Hello @rajneeshmadan,

Thank you for submitting this feature request. This looks a reasonable ask especially when the Cognito API (e.g. InitiateAuthRequest) supports the Analyticsmetatdata property.

I will further review this with the .NET SDK team. Thank you.

Regards, Chaitanya