From 83cb50a8506662104d63fa26a7f9b7013ad185f9 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Wed, 14 Feb 2024 19:23:21 +0100 Subject: [PATCH] Test for issuer --- spec/requests/well_known/oauth_metadata_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/requests/well_known/oauth_metadata_spec.rb b/spec/requests/well_known/oauth_metadata_spec.rb index 1e9c60fa64f..cbb02506bec 100644 --- a/spec/requests/well_known/oauth_metadata_spec.rb +++ b/spec/requests/well_known/oauth_metadata_spec.rb @@ -22,6 +22,7 @@ describe 'The /.well-known/oauth-authorization-server request' do grant_types_supported << 'refresh_token' if Doorkeeper.configuration.refresh_token_enabled? expect(body_as_json).to include( + issuer: root_url(protocol: protocol), authorization_endpoint: oauth_authorization_url(protocol: protocol), token_endpoint: oauth_token_url(protocol: protocol), registration_endpoint: api_v1_apps_url(protocol: protocol),