The App keeps asking for permission to “Have offline access”, why?

前端 未结 5 1914
甜味超标
甜味超标 2020-12-13 13:04

After having authorized the app with oAuth2 and acquiring permissions for requested scopes, I still get a screen asking if I grant the app permission to Have offline

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-13 13:59

    Do you use the approval_prompt parameter? Try not to ask for offline access again if you already have an refresh token. It should stay valid even if the user logs in again, without requesting offline access.

    A reference about this can be found here.

提交回复
热议问题