Skip to content

Commit

Permalink
Fix lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunsampath committed Nov 2, 2023
1 parent a6007fb commit 5f15768
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/core/authentication-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,15 @@ export class AuthenticationCore<T> {
SESSION_STATE as keyof SessionData, sessionState, userID));

const body: URLSearchParams = new URLSearchParams();

body.set("client_id", configData.clientID);

if (configData.clientSecret && configData.clientSecret.trim().length > 0) {
body.set("client_secret", configData.clientSecret);
}

const code = authorizationCode;
const code: string = authorizationCode;

body.set("code", code);

body.set("grant_type", "authorization_code");
Expand Down

0 comments on commit 5f15768

Please sign in to comment.