While signing in with a federated identity provider, is there a way we can add custom attributes with the federatedSignIn call, so that we can map them inside Cognito user pool's custom attribute. I have the following scenario:
Website: https://www.example.com/invite/:username -> google/facebook sign in(federatedSignIn call goes here) -> back to my app(cognito returns the authenticated user info).
I want to keep track of the username present in the invite link and set that as a custom attribute for the user in the user pool.
Is this possible with federated sign-ins?
Thanks