Skip to content

Commit

Permalink
loginWithIdp: rename parameter clientID to idpClientId to make it les…
Browse files Browse the repository at this point in the history
…s confusing
  • Loading branch information
OtterleyW committed Dec 4, 2020
1 parent 73ed7c2 commit 03e16e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/api/auth/loginWithIdp.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const httpsAgent = new https.Agent({ keepAlive: true });

const baseUrl = BASE_URL ? { baseUrl: BASE_URL } : {};

module.exports = (err, user, req, res, clientID, idpId) => {
module.exports = (err, user, req, res, idpClientId, idpId) => {
if (err) {
log.error(err, 'fetching-user-data-from-idp-failed');

Expand Down Expand Up @@ -87,7 +87,7 @@ module.exports = (err, user, req, res, clientID, idpId) => {
return sdk
.loginWithIdp({
idpId,
idpClientId: clientID,
idpClientId,
idpToken: user.idpToken,
})
.then(response => {
Expand Down

0 comments on commit 03e16e0

Please sign in to comment.