Skip to content

Email auth does not work out of the box on MacOS and error message is unclear. #4512

Description

@vlidholt

Describe the bug

The email authentication uses the keychain from macOS to store data. This causes sign-in with email to fail in the default project, as macOS requires additional entitlements added to the app.

To reproduce

Create a new project, try to sign in with email.

Expected behavior

A clear error message would be good here. The message mentions entitlements, but it's not clear what to add where. We should either include the entitlements by default (which requires a developer account to sign the app - can be a downside) or provide instructions when we run into the issue.

Library version

Serverpod 3.1.1

Platform information

MacOS

Additional context

No response

How experienced are you with this library?

None

Are you interested in working on a PR for this?

  • I want to work on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status
    Planned 🔭

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions