2
0

Add userinfo oauth endpoint (#32548)

This commit is contained in:
Emelia Smith
2024-10-30 15:38:10 +01:00
committed by GitHub
parent 0a599d08d8
commit e1b7382ea6
8 changed files with 112 additions and 12 deletions

View File

@@ -26,6 +26,10 @@ class OauthMetadataPresenter < ActiveModelSerializers::Model
oauth_token_url
end
def userinfo_endpoint
oauth_userinfo_url
end
# As the api_v1_apps route doesn't technically conform to the specification
# for OAuth 2.0 Dynamic Client Registration defined in RFC 7591 we use a
# non-standard property for now to indicate the mastodon specific registration