答案 0 :(得分:3)
在asana中创建应用程序
获取网址='https:// app.asana.com/-/oauth_authorize?client_id='+ setting.client_id +'& redirect_uri ='+ setting.redirect_uri +'& response_type ='+ setting.response_type
您获取代码,POST代码URL'https:// app.asana.com/-/oauth_token?grant_type=authorization_code' +'& client_id ='+ setting.client_id +'& client_secret ='+ setting.client_secret +'& code ='+ query.code +'& redirect_uri ='+ setting.redirect_uri
访问代码发出一小时。 POST URL'https:// app.asana.com/-/oauth_token?grant_type=refresh_token' +'&amp; client_id ='+ setting.client_id +'&amp; client_secret ='+ setting.client_secret +'&amp; refresh_token ='+ setting.refresh_token ----- for refresh access co </ p>