[Interest] Send POST request with QOAuth2AuthorizationCodeFlow

Jesus Fernandez Jesus.Fernandez at qt.io
Wed Feb 22 12:23:16 CET 2017


On Wednesday, February 22, 2017 10:19:06 AM Juhani Matilainen wrote:
> Another question: Google login requires ’access_type=offline’ parameter in authorization request to get refresh token. Which function should be used to set it?

You can use QAbstractOAuth::setModifyParametersFunction to add custom parameters.

https://doc.qt.io/qt-5/qabstractoauth.html#setModifyParametersFunction

-- 

Best regards,
Jesus



More information about the Interest mailing list