Skip to content

Commit c32a5cd

Browse files
authored
Merge pull request #294 from dbuchwald/master
Resolved issue #293 related to client_secret being passed in POST
2 parents 1d45d96 + 40b698f commit c32a5cd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

oauth-rest/oauth-authorization-server/src/main/resources/baeldung-realm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
"implicitFlowEnabled" : true,
443443
"directAccessGrantsEnabled" : true,
444444
"serviceAccountsEnabled" : false,
445-
"publicClient" : false,
445+
"publicClient" : true,
446446
"frontchannelLogout" : false,
447447
"protocol" : "openid-connect",
448448
"attributes" : {

oauth-rest/oauth-ui-authorization-code-angular/src/main/resources/src/app/app.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export class AppService {
2323
let params = new URLSearchParams();
2424
params.append('grant_type','authorization_code');
2525
params.append('client_id', this.clientId);
26-
params.append('client_secret', 'newClientSecret');
2726
params.append('redirect_uri', this.redirectUri);
2827
params.append('code',code);
2928

@@ -63,4 +62,4 @@ export class AppService {
6362

6463
window.location.href = logoutURL;
6564
}
66-
}
65+
}

0 commit comments

Comments
 (0)