Follow https://tools.ietf.org/html/draft-pot-authentication-link-00 and user jsonapi_hypermedia to include authentication links on top-level documents when relevant.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review
FileSize
5.03 KB

Adds the authenticated-as link to the top-level of all requests when logged in.

mglaman’s picture

FileSize
7.51 KB

Added a test.

mglaman’s picture

FileSize
7.48 KB

phpcs fix

mglaman’s picture

FileSize
7.81 KB

Enabling deprecation suppression. It's coming from hypermedia and fixed in #3106967: Fix @todo items that follow up to 3080259.

mglaman’s picture

Crediting gabesullice who had the idea and linked to the draft spec.

  • mglaman committed a0bbae4 on 8.x-1.x
    Issue #3106889 by mglaman, gabesullice: Add link relationship types for...
mglaman’s picture

Status: Needs review » Fixed

Woo!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.