We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 815590c commit 6256c4eCopy full SHA for 6256c4e
src/pages/[platform]/build-a-backend/auth/concepts/external-identity-providers/index.mdx
@@ -587,7 +587,7 @@ import 'aws-amplify/auth/enable-oauth-listener';
587
import { getCurrentUser, fetchUserAttributes } from 'aws-amplify/auth';
588
import { Hub } from 'aws-amplify/utils';
589
590
-Hub.listen("auth", ({ payload }) => {
+Hub.listen("auth", async ({ payload }) => {
591
switch (payload.event) {
592
case "signInWithRedirect":
593
const user = await getCurrentUser();
0 commit comments