Hi,
I have an app that has been working fine for the last few weeks. The app makes use of the Oauth support delivered by the FDK as described here:
We make use of Agent Level OAuth so this means that the OAuth login kicks off as soon as I install the app and refresh the page. Since today we no longer get the login popup window. In the console
we now see the error: Missing required parameter: refresh_token
Has anything changed in the Oauth support?
Please find a copy of the oauth_config.json below.
{
"client_id": "xxx",
"client_secret": "xxx",
"authorize_url": "https://auth.xxx.com/authorize?response_type=code&client_id=xxx&redirect_uri=https://oauth.freshdev.io/auth/callback&audience=https%3a%2f%2fapi.xxx.com%2f&scope=openid profile&state=login",
"token_url": "https://auth.xxx.com/oauth/token?grant_type=authorization_code&state=login&audience=https%3a%2f%2fapi.xxx.com%2f&scope=openid profile",
"options": {
"scope": "openid profile",
"audience": "https://api.xxx.com/",
"state": "login",
"grant_type": "authorization_code"
},
"token_type": "agent"
}