[openstreetmap/openstreetmap-website] Include preferred_username claim in OIDC ID token (PR #6429)

Tom Hughes notifications at github.com
Tue Oct 7 17:27:08 UTC 2025


@tomhughes commented on this pull request.



> @@ -110,7 +110,7 @@ def test_openid_connect
     end
 
     assert_equal user.id.to_s, data["sub"]
-    assert_not data.key?("preferred_username")

Right so it's always been available in userinfo so there's really no point not including it in the token then.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6429#discussion_r2411364248
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6429/review/3311147144 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251007/b00c93d5/attachment.htm>


More information about the rails-dev mailing list