I have a Drupal 8 installation and it is not logging in the users.
Tried Google search and applied all solutions like setting
trusted_host_patterns and clearing cache.
Note that, if we see the recent log messages, we can clearly see that the user is logged in. Session is opened for user.
Session opened for [username].
But, it is still redirecting to login page instead of user home page.