Comments (6)
@cwomack I can confirm it is similar, except that issue is from v5 amplify.sendCustomChallengeAnswer
. But v5 can integrate nicer with amazon-cognito-identity-js
(v2) to solve that issue.
My current issue is based on v6 and i can't see any examples of using amplify v6 and @aws-sdk/client-cognito-identity-provider v3 together.
from amplify-js.
Following up to say we'll keep both issues open and separate for now, because of the extra context here regarding the new/cross tab functionality described.
from amplify-js.
Hello, @zcemycl and thanks for opening this issue. You are correct that confirmSignIn()
currently needs to be called alongside signIn()
due to the session information and challengeResponse
being required as part of the confirmation flow.
Are you able to provide more context around what the use case is here or why you're needing to call these separately in the authentication flow? Thanks!
from amplify-js.
@cwomack for example, this one from aws tutorial https://aws.amazon.com/blogs/mobile/implementing-passwordless-email-authentication-with-amazon-cognito/ .
- You login the website by providing email that is in the user pool.
- the custom auth flow allows that user by issuing an auth challenge which is sending the user email a magic link.
- If the user clicks on the magic link, it supposes to send a confirm auth challenge to custom auth flow to verify the user identity.
- BUT since clicking the magic link or copying magic link to the browser will lead refreshing the page, the original signin function is discontinued.
I can replicate that tutorial with "@aws-sdk/client-cognito-identity-provider" but "aws-amplify" is not working.
from amplify-js.
Related to #10469.
@zcemycl can you review that issue I linked above to see if it would encompass what you're asking for in this issue?
from amplify-js.
@zcemycl, thanks for the quick response! I've got this marked as a feature request and will review this internally with the work that is currently underway with the other issue. This may be considered a duplicate if that's the case, but we'll capture the scope (and of course v6 aspect) of what's in this issue if we consider them duplicates.
from amplify-js.
Related Issues (20)
- window is not defined in a Lambda function when creating InvokeModelCommand isntance for Bedrock HOT 2
- Auth signUp works but signIn Throws AuthUserPoolException HOT 4
- Auth v6 - How to set cookie HttpOnly? ( Token-saving mechanism - Cookie Storage ) HOT 1
- Fetching Auth Session with / without AWS Credentials HOT 1
- Amplify Rest API Next js, Not signing the request with aws credential HOT 3
- id token doesn't contain ClientMetadata after refresh HOT 7
- Next runWithAmplifyServerContext operation sometimes returns contextSpec for another user if requests are in parallel HOT 1
- Upload of image >5MB using uploadData() ends in 403 Forbidden error HOT 7
- Since v6 I am no longer receiving _userauth.sign_in, _userauth.sign_up, _userauth.auth_fail events. Only _session.start and _session.stop HOT 5
- DataStore - Backend subscriptions filtering error HOT 2
- channelType, Address and optOut removed from v6, Alternative method to set these? HOT 4
- Validating phone number fails even if phone number is optional HOT 3
- TypeError: "Cannot convert null value to object" - AppSync Filters Not Matching Typescript Filters on SecondaryIndex HOT 4
- Login flow - random User cancelled OAuth flow errors HOT 3
- Support for Content-MD5 header irrespective of objectlock. HOT 4
- Using backend for both React Native and Custom Admin page with React JS HOT 9
- Feature Request: Amplify Gen2 SelectionSet Support for CustomQueries
- Feature Request: Amplify Gen 2 - Define Global SelectionSets in resource.ts
- AuthError is an unexpected type calling getCurrentUser() with no authenticated user. HOT 2
- API Adapter Class for REST Operations HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-js.