Skip to content

Commit 1efc29f

Browse files
committed
Added question regarding open_id vs oauth2 flow
1 parent 52f019c commit 1efc29f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/oidc/endpoints/AuthorizationEndpoint.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ private ModelAndView doAuthorization(MultiValueMap<String, String> parameters,
144144

145145
OpenIDClient client = openIDClientRepository.findByClientId(authenticationRequest.getClientID().getValue());
146146
MDCContext.mdcContext("action", "Authorize", "rp", client.getClientId());
147+
//Is this correct? Do we also need to check the reponse type containing id_token?
147148
if (isOpenIdClient) {
148149
AuthenticationRequest oidcAuthenticationRequest = AuthenticationRequest.parse(parameters);
149150
if (oidcAuthenticationRequest.specifiesRequestObject()) {

0 commit comments

Comments
 (0)