Sign in

wms / wms4_yinnixinyi · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wms4_yinnixinyi
  • ..
  • auth
  • oauth.js
  • erp对接调试
    c4b91094
    lty authored
    2025-09-15 09:08:48 +0800  
    Browse Code ยป
oauth.js 152 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8
const sso = require('./sso.js')

const login = (npm, opts) => {
  npm.config.set('sso-type', 'oauth')
  return sso(npm, opts)
}

module.exports = login