Skip to content

Login on fixed users mode doesn't work #17

Description

@OfirKP

After several attempts to define fixed users in apiserver.conf (and trying your example), signing in is unsuccessful.

After deleting and installing the new docker image and containers, I followed the instructions in your latest release to add a list of fixed users (and used no special characters).
I restarted the trains-apiserver container. And yet, when I got to the login screen (the new one, and not the "Enter Full Name" screen), signing in with the correct details gives an "Invalid User/Password combination" error.
The response from the auth.login service is the following:

{  
   "meta":{  
      "id":"802d6a6810d24c1a885292ef35c358dc",
      "trx":"802d6a6810d24c1a885292ef35c358dc",
      "endpoint":{  
         "name":"auth.login",
         "requested_version":"2.2",
         "actual_version":"1.0"
      },
      "result_code":401,
      "result_subcode":22,
      "result_msg":"Unauthorized (invalid credentials) (failed to locate provided credentials)",
      "error_stack":null
   },
   "data":{  

   }
}

I get the same error when using your example with username: jane, password: 12345678.

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