Skip to content

Commit dbb0229

Browse files
committed
Issuer in discovery json
Signed-off-by: Juan Manuel Lallana <[email protected]>
1 parent 2c7afae commit dbb0229

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/oauth2/lib/Controller/OauthApiController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ public function getToken($grant_type, $code, $refresh_token, $client_id, $client
198198
public function discovery() {
199199
$util = new Util();
200200
return new JSONResponse([
201+
'issuer' => $this->urlGenerator->linkToRouteAbsolute(''),
201202
'authorization_endpoint' => $this->urlGenerator->linkToRouteAbsolute('oauth2.LoginRedirector.authorize'),
202203
'token_endpoint' => $this->urlGenerator->linkToRouteAbsolute('oauth2.OauthApi.getToken'),
203204
'userinfo_endpoint' => $this->urlGenerator->linkToRouteAbsolute('oauth2.OauthApi.getUserInfo')

0 commit comments

Comments
 (0)