Skip to content

How to get the current user? #1685

@AmirGilboa

Description

@AmirGilboa

I would like to create a user setting page, where she can set her preferences, address, etc.
all in her User schema. How to do that? I actually need 2 methods:
one to read user info, one to save user info.
i thought Auth.getCurrentUser() will help me get the current user, but i can't make it work.
i get "getCurrentUser is not a function...."
Any tip, example, link for further reading?
Thank you!

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