Make authentication work out of the box

Created on 25 November 2022, over 1 year ago
Updated 2 March 2023, over 1 year ago

Problem/Motivation

After following setup steps and/OR quick-test steps, one should have a fully working setup, which includes authentication.

After logging into the backend,

  • previews should be working (press preview during node editing)
  • the frontend should instantly show changes after submitting changes (e.g. editing a node)

Proposed resolution

Ensure technically all is working here, then let's take care of necessary documentation

  • When SSG is in use, we need to make sure the frontend respects the auth=1 parameter and reloads/refreshes the page even though it's static.
  • Server-side rendering should rendered authenticated page responses, i.e. have the cookie header forwarded to our backend (done by nuxtjs-drupal-ce AND ensure the cookie domain setting in .services.yml is set so the frontend has access to the session cookie set by the backend
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria fago Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024