Open magic7s opened 3 years ago
Hmm it's not directly possible, but you might be able to achieve this by defining a custom route named oauth_discovery_keys
, after the call to use_doorkeeper_openid_connect
.
Maybe something like:
match '/-/jwks', to: 'doorkeeper/openid_connect/discovery#keys', as: :oauth_discovery_keys
I'm struggling to find a way to configure an alternate uri for
jwks_uri
in.well-known/openid-configuration
. I have read discovery_url_options and found that I can change some things but not the full uri. Any help would be appreciated.I need
https://example.com/oauth/discovery/keys
to becomehttps://example.com/-/jwks