OAuth2 with non http redirect URI
-
I wanted to perform oauth2 authorization with the server. I have set the required fields for QOAuth2AuthorizationCodeFlow (client id, client secret, authorization url, token url and scope.
For reply handler i have a non http based redirect uri ("profiler://profilerauthorization"). So i subclassed QAbstractOAuthReplyHandler and reimplemented the callback and networkreply functions.
But when the server replies back i am not able to receive the data in my callback.
Any pointers would be of great help.
Thanks
-
Hi,
Would it be possible to share your code ?
Without it it's pretty difficult to guess what goes wrong.