Try to get authentication token in in-app mobile browser shows an error

TandinganWillie Loyd

2018.02.01既読 2040

I was trying to getting the access token by following the "Service API Sample Codes" in https://developers.worksmobile.com/jp/document/1002003

 

I have set a bot persistent menu with a button having a link to https://server.host/somelink where it tries to get the access token by redirecting to URL like as follows: https://auth.worksmobile.com/oauth/authorize?response_type=code&client_id=service_key_here&redirect_uri=https://server.host/save-token&domain=dev.sprasia.com 

 

When using the LINEWORKS desktop client, I will be redirected to the LINEWORKS login page where it will immediately redirect to the specified redirect_uri since I'm already logged in and I can save the access token. This is the expected result.

 

However, when I open the same using the iOS application, I get the error page like as follows: https://imgur.com/a/oX1jR


My domain is dev.sprasia.com.



 

 

コメント3

前の投稿トークBot API v1の終了時期について
次の投稿buttonsで表示される文字は折り返し可能でしょうか?
リスト

まだ、解決できませんか?
今すぐ実際に使用しているLINE WORKSユーザーに質問してみましょう。