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)
- Received an UnauthorizedException when calling GraphQL with Auth0 as OIDC. HOT 1
- getDnsSuffix Webpack Error On Build HOT 7
- onNotificationReceivedInForeground from aws-amplify/push-notifications is not triggered HOT 8
- multi page react web app .jpg and .ttf files not rendering on amplify HOT 2
- [Amplify Admin Actions] CORS error and unable to pass queryStringParameters HOT 3
- Angular v17 and latest typescript having issues with @aws-amplify sub-dependencies HOT 2
- Not able to login after upgrading to v6 from v4 HOT 2
- DataStore. Disable sync for model in SyncExpressions
- SerializationException: Start of structure or map found where not expected HOT 1
- custom domain add error - One or more of the CNAMEs you provided are already associated with a different resource
- ObserveQuery / OnUpdate not respecting selection set nested models - returns function instead HOT 4
- Datastore returning old version on app startup and then shortly updating
- Can't update optOut for AWS Pinpoint endpoint without address (APNs device token) HOT 13
- [v6] How to set dynamic custom prefix for each file upload like v5 HOT 2
- Amplify Authenticator: Buttons "frozen" after back clicking social login HOT 9
- No Credentials Generated for Android Device and No Error HOT 2
- Access Denied (403) executing downloadData() despite allow.guest.to(['read']) HOT 9
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- Auth v6 - How to respond to challenge_answer after redirecting back from Duo Security's URL? HOT 2
- V3 to V6 upgrade causes AuthUserPoolException HOT 6
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.