Skip to content

How to access /router/translate-path without anonymous content access #800

Open
@Vacilando

Description

@Vacilando

Package

next v1.6.3 (Drupal module)

Ask the question

We work on a D10 site that has "View published content" disabled for Anonymous users.

JSON API data is retrieved fine thanks to a key set up using https://www.drupal.org/project/key_auth for particular API user.

However, calls to /router/translate-path do not work.

  • If key_auth is active, it returns "The used authentication method is not allowed on this route."
  • If key_auth is not active, it returns "The 'access content' permission is required."

With what kind of authentication - can we query /router/translate-path for content that is not open to anonymous users?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion asked by a usertriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions