Skip to content

Auth status is not authenticated at page loading #4

@FelixHauger

Description

@FelixHauger

When the page is loading or is refreshed, the user retrieved with useAuthenticator is undefined.

Moreso, the authStatus is at "configuring", indicating that the first loading of the Authenticator is still ongoing https://ui.docs.amplify.aws/react/connected-components/authenticator/advanced

The condition to display content is currently inside React's useEffect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions