Implement RFC 8414 for OAuth 2.0 server metadata (#29191)

This commit is contained in:
Emelia Smith authored and GitHub committed 2024-05-06 13:17:56 +00:00
1 parent 30ef9fccf0
commit 116f01ec7d
5 files changed
+137

No files matched your search

+1
View File
@@ -62,6 +62,7 @@ Rails.application.routes.draw do
tokens: 'oauth/tokens'
end
get '.well-known/oauth-authorization-server', to: 'well_known/oauth_metadata#show', as: :oauth_metadata, defaults: { format: 'json' }
get '.well-known/host-meta', to: 'well_known/host_meta#show', as: :host_meta, defaults: { format: 'xml' }
get '.well-known/nodeinfo', to: 'well_known/node_info#index', as: :nodeinfo, defaults: { format: 'json' }
get '.well-known/webfinger', to: 'well_known/webfinger#show', as: :webfinger