Provide well-known config and fix issuer

Created on 27 November 2024, 8 months ago

Problem/Motivation

Many OpenID Connect clients allow auto-config via a `.well-known` config URL. oauth2_server should provide one. This will make configuring clients easier *and* provides users with a URL to look at client config settings. At the same time, clean up the `jwk` and `jwks` route output.

Proposed resolution

Add in a route that spits out blob of JSON with config info.

Remaining tasks

All the work.

User interface changes

N/A

API changes

None, but.

Turns out that the jwk route outputs the issuer *without a trailing slash, but the startServer() code in Utility.php does not trim it, so the provided config is mis-matched. Most examples I see online do not have a trailing slash, so I propose we aim mto be consistent and drop it everywhere.

Data model changes

N/A

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇦🇺Australia cafuego

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024