immense / immense/Remotely

Could you add an option to automatically create an admin using environment variables?

Open
#935 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
5.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Hi there! 👋

I'm using Remotely for personal testing and stuff. I've noticed that every time I run tests and the database gets lost or deleted, I also lose the admin user. 😅

It would be super helpful if there was a way to automatically create an admin user using environment variables. For example, something like ADMIN_EMAIL and ADMIN_PASSWORD, so that when the server starts, it automatically creates an admin if these values are set.

This would save me time every time I run tests and have to start from scratch, recreating the user every time. Just an idea that I think could help others in a similar situation. 😉

Thanks for reading and considering this. It would be awesome!

Cheers,
IPnotics

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the server-startup path and the existing admin-user creation flow, then trace how environment variables are read; done means configured ADMIN_EMAIL and ADMIN_PASSWORD values create an admin when the database is new or reset, without breaking normal startup.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.