The route /auth/login is not permitted with JWT authentication


I’ve been trying to connect to passbolt using postman, i’ve been following the instructions in the manual here Passbolt Help | Authentication in passbolt, but I’m getting the error: The route /auth/login is not permitted with JWT authentication

I’ve checked and i have JWT enabled

 JWT Authentication

 [PASS] The JWT Authentication plugin is enabled
 [PASS] The /etc/passbolt/jwt/ directory is not writable.
 [PASS] A valid JWT key pair was found

 [PASS] No error found. Nice one sparky!

Does anyone have any idea what the problem is?

Thank you in advance.


This message indicates that you are trying to use a JWT to a non JWT enabled endpoint. They are only two /auth/login and /auth/logout both are used to initiate cookie driven sessions. This is because we don’t want users to have both a valid cookie session and a JWT (e.g. basically to avoid beeing authenticated with two methods at the same time).

Not sure why you need to access these endpoints with a JWT set. Can you explain what you are trying to do?

I want to bulk import users using the POST method as described in your manuals.

I have installed the passbolt CE version

So the solution would be to create a JWT user?