Skip to content

Reconsider how we define initial admin users #408

Open
@sodic

Description

@sodic
Collaborator

We tell the app about initial admins through an environment variable. This is fragile and could cause issues.

Options:

  • Restrict the env varialbe to contain only a single admin email (mitigates the issue but still isn't perfect)
  • Stop supporting defining admins through env vars and require users to do so manually in the production database (not ideal, adds extra friction)
  • Something else?

Activity

FranjoMindek

FranjoMindek commented on Apr 16, 2025

@FranjoMindek
Contributor

Single initial admin user through env vars is something almost everyone does.
I wouldn't go removing that.

But I also wouldn't allow for multiple admins through env vars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sodic@FranjoMindek

        Issue actions

          Reconsider how we define initial admin users · Issue #408 · wasp-lang/open-saas