79242867

Date: 2024-12-02 03:01:38
Score: 2
Natty:
Report link

Found another solution on 2nd Dec, 2024, since suddenly occured the problem that never return the 'refresh_token'.

As far as you know that, for the Google OAuth, there is two url to get access token,

The first one is 'https://accounts.google.com/o/oauth2/auth' to get authorization code.

second one is 'https://accounts.google.com/o/oauth2/token'.

Most of answers on the internet people focus on the second one 'xxx/oauth2/token' to add 'prompt : consent'.

To solve the problem, you should add 'prompt : consent' into the first url for authorization url as '&prompt=consent' since around 2nd Dec, 2024. The reason why? I also don't know since the google shits always do the sudden changes without official notification.

Reasons:
  • Blacklisted phrase (0.5): why?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Lee Mitchell