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

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

Open
Vacilando opened this issue Sep 26, 2024 · 0 comments
Open
Labels
question Question asked by a user triage A new issue that needs triage

Comments

@Vacilando
Copy link

Vacilando commented Sep 26, 2024

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?

@Vacilando Vacilando added question Question asked by a user triage A new issue that needs triage labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question asked by a user triage A new issue that needs triage
Projects
None yet
Development

No branches or pull requests

1 participant