Skip to content

Rename signIn from useAuthActions to authorize #69

Open
@IAlphaOmegaI

Description

@IAlphaOmegaI

signIn does make sense in most cases, but when implementing your own auth mechanism, or using a more traditional email password auth with resend, signIn("sign-up", ...) makes for a very bad time maintaining and reading.

I propose the name authorize or authenticate which is more encompassing and offers better readability for the future.

So TLDR from:

const { signIn } = useAuthActions() 

to

const { authorize } = useAuthActions()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions