Automattic / Automattic/wp-openid-connect-server

Custom endpoints don't work with certain permalink structures

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
44
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Must set permalink structure to "Post name" (under Settings -> Permalink) otherwise endpoints 404 (e.g. `/openid-connect/authenticate`).

These endpoints should work regardless of the permalink structure.

Contributor guide

Open the contributing guide

Research direction

Reproduce the 404 for /openid-connect/authenticate with a WordPress permalink structure other than "Post name", then compare it with the working configuration under Settings → Permalink. Trace how the endpoint is registered and routed, and consider the issue done when the endpoint works across the available permalink structures.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
api, authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.