kenu
57k
2021-11-10 16:01:37
0
554

naver 싱글 사인 온 샘플


express-4.x-naver-example


This example demonstrates how to use Express 4.x and Passport to authenticate users using Naver. Use this example as a starting point for your own web applications. This project is forked and modified from Facebook example.

Instructions

To install this example on your computer, clone the repository and install dependencies.

$ git clone https://github.com/kenu/express-4.x-naver-example.git
$ cd express-4.x-naver-example
$ npm install

The example uses environment variables to configure the consumer key and consumer secret needed to access Naver's API. Start the server with those variables set to the appropriate credentials.

$ NAVER_CLIENT_ID=__NAVER_CLIENT_ID__ NAVER_CLIENT_SECRET=__NAVER_CLIENT_SECRET__ node server.js

Open a web browser and navigate to http://localhost:3000/ to see the example in action.

0
  • 댓글 0

  • 로그인을 하시면 댓글을 등록할 수 있습니다.