Try to get authentication token in in-app mobile browser shows an error
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.