Open pechisworks opened 4 years ago
@pechisworks why you cannot use Auth.signIn(...)
instead of Auth.federatedSign(..)
, what is your use case?
Hi @elorzafe.
I want to Sign in with my Facebook or Google-Account. I want to pass some additional data to the Post authentication
trigger, in my use case I want to pass the IAM identityId
so I can take over some data from the unauthenticated IAM user. (The IAM user can do some data manipulations, and when he signs up/in, this data should be taken over to the new user)
Is it possible to sign in with a Facebook Account with Auth.signIn(...)
?
@elorzafe is this possible? can we pass validationData to federatedSignIn?
For my particular use case there is a precursor step that they need to take before they can sign in using facebook, so I pass the result of that step in the validationData to ensure that the user is valid
@elorzafe any update on the above?
+1 Have the same usecase as @alichherawalla. Would appreciate any update.
+1
We are facing the same issue, any update ?
I'm in the same problem, it is vital for me to pass validationData
for a function that runs in pre-signup and I also have federated users from Facebook and Google.
This is key to being able to validate a CAPTCHA in the Pre authentication trigger Lambda.
Is there any update on this?
Is there any update on this?
It's been almost two years since this ticket was open, it's really a very important feature to build production-ready sign-in/signup pages using a CAPTCHA. That will be great to get at least feedback whether you are planning to implement it or not, this will give us the opportunity to think about other solutions like AWS WAF CAPTCHA (not cost-effective for our use case) or move to another IDP.
Is there any update on this? Why is this being completely ignored?
@SimonHoiberg I am very sorry I forgot to answer this issue.
I was looking on Cognito documentation and it seems is not possible to send validationData
or clientMetadata
when using HostedUI.
I will reach out Cognito team about this problem
FYI: @elorzafe
Even for the clients which are not HostedUI based the validationData and clientMetadata not working for federatedSignIn/federatedSignUo
Stuck on this issue, too
Hi, any update on this? Come on man we need a solution for this.
Hi @parthNJ, unfortunately we are blocked on delivering this feature since we need changes to happen first at the Cognito side. We are in communication with them about these blockers!
@abdallahshaban557 do you have any news from Cognito?
Hi @wookieJ - unfortunately, not yet. Can you please provide us with the use case that you want to unlock by passing the validationData?
@abdallahshaban557 We would like to pass fingerprint id to pre-signup lambda using federatedSignIn()
@abdallahshaban557 I'm following this issue as well, not a blocker for me as we are still evaluating Cognito as a solution, but in prototypes I've built this has been an issue. For my use case, I would like the to pass application context that I can rely on in cognito triggers. It basically comes down to tenant information in our use case. We use the same logic for all tenants, but we need to know the tenant identity. For federated logins we would have to infer it from other information since the client has no way to pass it to us.
This is really helpful context @evc-erik - thank you so much!
Hello. We also need this for our use case.
When users sign up with a Google/Apple/Facebook account with an email associated with an existing Cognito user, I am throwing an error from a pre-signup trigger to ask the client to specify whether to link those accounts or not.
In a subsequent call to federatedLogIn, I need to be able to pass a signal to my pre-signup trigger to specify what action the user chooses to take in those cases.
This issue is a blocker for this use case, and I'll probably have to figure out a hacky workaround to implement this. Not sure what I'll do yet.
This functionality would be very useful for us.
Hello. Our team needs this as well. I created a new issue explaining our use case here.
Just wanted to drop a comment on this issue to say that while there hasn't been any progress to report on this feature request yet, we've marked it to be reviewed with the Cognito team again. If there's any updates that can be provided, we'll share them as soon as we can!
This is a must have in order to pass any extra information to the Post Authentication trigger. We really shouldn't have to justify why that is necessary.
need this feature for our release
I would say this particular thread is the most active with regard to this issue. Any updates? Also, in the meantime I think a lot of developers could possibly benefit from updating docs indicating passing metadata when signing in with OAuth redirect is not supported.
We'd like to be able to pass ClientMetadata
to the PreSignup
trigger (via signInWithRedirect()
) to be able to identify what version of the client is registering an account so that we can give different behavior based on the client. As it is now, we have no way to differentiate clients from each other, and thus we must use a single user experience for all clients (undesirable).
+1
our team also needs to pass clientMetadata
to signInWithRedirect()
and be able to read it in the lambda trigger, any updates on this please?
We need this as well
Coming back here to say this issue has become a blocker for another feature. We never got to implement the last feature that this issue blocked, is it possible we can have this functionality so we can a get little more control over signInWithRedirect()
this time?
We also need this ability. Incredible that this has not been implemented yet as it has been available to CognitoSignUp for years with the clientMetaData
property.
Is your feature request related to a problem? Please describe. I would like to add some
validationData
onAuth.federatedSignIn()
so that i can access this data on some Cognito triggers likePre authentication
orPost authentication
.