How to set redirect_uri using QOAuth2AuthorizationCodeFlow and QOAuthHttpServerReplyHandler

前端 未结 3 2058
眼角桃花
眼角桃花 2020-12-20 22:30

For OAuth 2.0 using QT\'s networkauth and the new QOAuth2AuthorizationCodeFlow object, how can I set the redirect_uri? My code is below. It results in the following authen

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-20 23:31

    I just solved this by subclassing MyOAuthHttpServerReplyHandler and overriding the definition of callback() to return the URI I wanted.

提交回复
热议问题