Automattic / Automattic/wp-openid-connect-server

Getting started

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

Description

Hi there,

I’m pretty brand new to running/configuring WordPress, so apologies if these questions seem silly. I’ve read the README, but I’m still a bit unclear as to which files I should edit to add the configuration to.

I’ve got WordPress running in a Docker container, so I presume it’s a pretty vanilla install. I’ve created the public and private keys, but I’m not clear which file I should add the `define( 'OIDC_PUBLIC_KEY'` bits? Is the `/index.php` appropriate?

For the `add_filter(` lines, it mentions using a `functions.php` file from a theme. I appear to have three themes preinstalled. Would `wp-content/themes/twentytwentyone/functions.php` be the appropriate file to append this to?

Am I right to assume that once the plugin is configured correctly, that if my site is running on http://localhost:8080/ that I should be able to hit http://localhost:8080/.well-known/openid-configuration ?

Contributor guide

Open the contributing guide

Research direction

Start with the README configuration instructions and compare them with the WordPress files mentioned: /index.php, wp-content/themes/twentytwentyone/functions.php, and the Docker setup. Clarify which files receive the key and filter settings, and document how to verify the /.well-known/openid-configuration endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php, wordpress
Domain
authentication, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.