e0ipso / e0ipso/simple_oauth_21

/.well-known/* paths should never be localized

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I have faced with a similar issue on the llms_txt module. On multilingual sites, when URL based detection is available. `./well-known/*` paths defined by the simple_oauth_server_metadata sub-module becomes aliased and redirected.

Considereding that English and Hungarian is configured as site language with English as default:

https://my.site/.well-known/oauth-authorization-server automatically redirects to https://my.site/en/.well-known/oauth-authorization-server
and https://my.site/hu/.well-known/oauth-authorization-server also available.

The related issue and fixes from my module:
https://www.drupal.org/project/llms_txt/issues/3549684
https://www.drupal.org/project/llms_txt/issues/3548950

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.