Fix doc for this.
This commit is contained in:
parent
6e39c3d2f7
commit
89f2f64042
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ try {
|
|||
|
||||
if (isPublic()) { // if client is public access type
|
||||
formparams.add(new BasicNameValuePair(OAuth2Constants.CLIENT_ID, "customer-portal"));
|
||||
formparams.add(new BasicNameValuePair(OAuth2Constants.GRANT_TYPE, "password"));
|
||||
} else {
|
||||
String authorization = BasicAuthHelper.createHeader("customer-portal", "secret-secret-secret");
|
||||
post.setHeader("Authorization", authorization);
|
||||
|
|
Loading…
Reference in a new issue