Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 617 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 617 Bytes

OAuth

We use OAuth2 to protect personal resources. Only api service with those resource need oauth access token. Developers can get access token from 2 ways, they are described below.

Root URL

https://api.cc.ncu.edu.tw/oauth

OAuth Scope

you can view all scopes in scope list

Authorization Code Grant Flow

  1. get authorization code
  2. get access token by exchanging with auth code above

Refresh Token Grant Flow

  • get refresh token by exchanging with refresh token provided from authorization code grant flow