728x90
auth
-
npm repository 사용시 인증(로그인) 처리 방법설치&설정 관련 2022. 10. 17. 14:54
npm repository 사용시 인증(로그인) 처리 방법 Nexus 설치 및 설정을 후 보안의 사유로 계정 로그인 처리를 찾아보다 .npmrc파일에 _auth를 이용해서 로그인 처리를 알게 되었습니다. .npmrc 파일은 아래와 같은 key를 가지고 있습니다. # Nexus proxy registry pointing to http://registry.npmjs.org/ registry = https:///nexus/content/repositories/npmjs-registry/ # base64 encoded authentication token _auth = # required by Nexus email = # force auth to be used for GET requests always-auth..