Open YvanJAquino opened 11 months ago
Perhaps I encountered a similar problem, only I have slightly different conditions. I use keycloak and log in using the code, but in response I receive a token without refreshToken
however, there are examples where it is clear that refreshToken is provided
I created a new client and it now has a button to enable token renewal
It's worth noting that I need to prompt for consent - IE I need to do the ENTIRE flow.
Hi there,
I'm seeing some unexpected behavior while interacting with oauth2.Config & oauth2.Token objects.
My client targets a Google Cloud OAuth Client ID (via the Oauth Consent Screens service AKA OAuth Brands). My client uses a web app type credential which exists in the following format:
Creating a config from this always works fine. I then update the redirect URL, generate a randomized state string, and generate an AuthCodeURL, specifying the oauth2.AccessTypeOffline option.
This is not producing Refresh tokens even with the oauth2.AccessTypeOffline option. In the past, this used to issue Refresh tokens.
According to the documentation on oauth2.AccessTypeOffline documentation:
Regards,