Hi Simon,
Just for the record because I filled up my context from different posts I just resume what I did.
Open the Default Context:
- click on Authentication from the left menu:
- select Form-based Authentication
- in the Login Form Target URL, I select the POST /sessions URL
- in the URL to GET Login Page, I select the GET /login URL
- in the Login Request POST Data, it is already filled up with the sessions URL
- in the Username Parameter et Password parameter, I just selected the parameters that correspond to the email and password
- in the Verification Strategy, I select Poll the Specified URL
- in the URL to Poll for Verification, I select my verification URL
- click on Users from the left menu
- create a user with the credentials
- click on Forced User, the user created is already selected
- click on Session Management, and make sure the option selected is Cookie-based
Then I clicked on OK
In the Toolbar the Forced User Mode was not enabled, so I enabled it
I came back to the Manual Request Editor with my verification URL, I removed session cookie from the request and send it.
The request went through and my user was connected. When I came back to the request tab, the session cookie was present.
In the History tab, I can see the verification URL request with several tags but I don't see any authentication requests with the login or sessions if that supposed to happen.
For me it's like it re-uses the session that was initially created. It is maybe what it should do but I am not sure it should happen this way...
Sincerely,
Stephanie