Hi there,
I've made an authenticated web messenger using this Auth plugin https://developer.genesys.cloud/commdigital/digital/webmessaging/messengersdk/SDKCommandsEvents/authPlugin#auth-gettokens
and I can see that the plugin has made the .getTokens
call to oauthcodegrantjwtexchange()
This call is returning a jwt and a refreshToken, but I didn't ask for a refreshToken
(when I made the call for the auth code provided by the brand i.e. https://accounts.google.com/o/oauth2/v2/auth?
I did NOT specify offline_access scope)
I don't want Genesys to return a refreshToken (because I've built a SPA). Can you suggest ways I might stop this happening?
Thanks, Mel