mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
🚀 Feature: Include code_challenge_methods_supported in ./well-known endpoint #103
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mzgaljic on GitHub.
Originally assigned to: @kmendell on GitHub.
Feature description
An application I use, Outline, determines if the oauth provider supports the PKCE flow by inspecting the
./well-knownresponse. To be specific, it looks for keycode_challenge_methods_supported. If it doesn't exist, it assumes PKCE is not supported. Outline is doing the right thing, according to the spec:Emphasis on
If omitted, the authorization server does not support PKCE.Here is how outline specifically handles this (if you're curious): https://github.com/outline/outline/pull/9478/files
Pitch
Pocket ID does not currently include
code_challenge_methods_supportedin the./well-knownresponse. It would be great if it did, so that I can use Outline (and other apps that work in a similar way) with PKCE. Since PKCE is more secure.If you're looking for a real example, I see google returns it in their response: https://accounts.google.com/.well-known/openid-configuration
@kmendell commented on GitHub:
@mzgaljic This should be in the ghcr.io/pocket-id/pocket-id:next` image in a few minutes, if you would like to make sure it works.
@mzgaljic commented on GitHub:
That was fast. Just tested it out, PKCE works with Outline now. Thank you! Looking forward to seeing this in the next release.