Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log user in on the backend during login steps #488

Closed
jhedstrom opened this issue May 16, 2018 · 1 comment · Fixed by #489
Closed

Log user in on the backend during login steps #488

jhedstrom opened this issue May 16, 2018 · 1 comment · Fixed by #489

Comments

@jhedstrom
Copy link
Owner

Many modules, and services utilize the current_user service for determining ownership, etc. When these hooks or services are called from the backend (for instance, during Given I am viewing my node...), current_user will be the anonymous user on the backend.

It would be good to have the login and logout steps log the user in on the backend (for the Drupal driver).

@claudiu-cristea
Copy link
Contributor

claudiu-cristea commented Oct 22, 2019

I wonder if we can avoid at all logging in via the form and do a direct login via API. That would be a big performance improvement as we don't need to test on each login the form. But I don't see a way to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants