What is the difference between token and acess_token returned while trading the authorization code | Community
Skip to main content
What is the difference between token and acess_token returned while trading the authorization code

Hey @svc-dev​ Racheal from the Support Engineer team here 👋

 

Taking a look at our OAuth docs here on trading your authorization code it looks like there should only be an access_token field returned:

ruby ssl_server.rb
== Sinatra (v1.4.7) has taken the stage on 4567 for production with backup from Thin
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:4567, CTRL+C to stop
05/May/2016:10:45:32 +0000] "GET / HTTP/1.1" 200 512 0.0041
CODE: XXXXXXXXXXXXXXXXXXXXX
STATE:example
ACCESS TOKEN: YYYYYYYYYYYYYYYYYYYYYYYYYY
05/May/2016:10:45:36 +0000] "GET /callback?code=XXXXXXXXXXXXXXXXXXXX&state=example HTTP/1.1" 302 - 0.7180
05/May/2016:10:45:36 +0000] "GET /home HTTP/1.1" 200 12 0.0004

 


Reply