Skip to content

Super user is not created on new installation #28

Open
@jimjoes

Description

@jimjoes

What happened?

I installed the main branch of the new adapt authoring and went through the UI to setup the instance, however I cannot log in with the user I configured in the UI. On checking the users collection in Mongo, it's empty and there are no obvious errors in the console from the setup.
I also tried npx adapt-security/utils register-super -e <email> which runs and doesn't produce any errors (or success notifications), but no item is created in the user collection.

Expected behaviour

I would expect the user to be setup

Steps to reproduce

  1. install using npx adapt-security/at-utils install --branches --prerelease adapt-1.0
  2. follow UI to configure setup
  3. run npm run dev
  4. Try and login.

Authoring tool version

1.0.0-rc.4

Framework version

5.38.2

What browsers are you seeing the problem on?

Chrome

Relevant log output

AFICT there are no errors emitted relating to user setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error has occurredhigh priorityShould be prioritised over all other issues

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions