Furo IAM home page
Korean
Search...
⌘K
Get Started
Get Started
Search...
Navigation
OAuth
Overview
Guides
Furo JS
SDK Reference
API Reference
Updates Log
Community
API Documentation
Authentication
Auth API
OAuth
Overview
GET
Google
GET
Kakao
GET
Naver
GET
Apple
GET
Microsoft
GET
Github
Magic Link
Password
POST
User Authenticate
GET
Get User Information
POST
Refresh Token
Management API
User
Workspace
Data Structure
User
Workspace
On this page
인증 과정
OAuth
Overview
Explains OAuth-based authentication.
인증 과정
위 플랫폼 별 API에서 반환된 링크에 연결하면 유저가 플랫폼에 인증하게 됩니다. 예를 들어 다음 구글 링크에 연결하면 사용자는 google에 사용자의 계정을 인증하게 됩니다.
“
https://accounts.google.com/o/oauth2/v2/auth?client_id=196548732042-8q1inmcmrf8mp0jc4fdi9l9si5vnpgjb.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fapi.furo.one%2Foauth%2Fcallback%2Fd4e8ae6ddbc553c349a701f9e8d26a40&access_type=offline&response_type=code&state=google&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email
”
그 후 인증에 성공하면 Furo console에 지정된 Furo Redirect URL로 redirect됩니다. Furo Redirect URL은 다음과 같이 생겼습니다.
https://api.furo.one/oauth/callback/cc56fd283a912ac9fed43029e251e7ba
그러면 저희 Furo 서버에서 사용자 정보를 확인합니다. 그 후 정보를 받을 수 있는 code를 만들어 project의 Default Callback URI에 함께
query string
으로 전달합니다.
전달 된 예시는 다음과 같습니다.
http://localhost:3000/cc56fd283a912ac9fed43029e251e7ba?code=260a3b6f45b5410788350ff6d42f0c3975d1ec06
이 code값을 이용하여 API 서버로부터 token을 얻을 수 있습니다.
Was this page helpful?
Yes
No
Authentication
Google
Assistant
Responses are generated using AI and may contain mistakes.