Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.0
-
None
Description
Hello,
I am trying to make this work for months, no matter how many times i read the docu and try, nothing works whatsoever.
All works fine for standard http, however https just wont work.
Attached is an example of project opening GoogleSSO in internal WebView
For you to run it:
- in google console, add redirect links both http "http://127.0.0.1:5476/" and https "https://127.0.0.1:5476/" (in both cases, put the "/" at the end):
- in oauth2_google.h on lines 30 and 31, please fill your Client ID and Client Secret from google console:
then just run the project and sign in to the google. as its HTTP only all works fine...
to switch it to HTTPS to demonstrate not working, please do following:
- in oauth2_google.h on line 29, change url form http to https
- in oauth2_google.cpp on line 111, please uncoment the line so SSL configuration comes in place
- in oauth2_google.cpp on line 118, please comment all line
- in oauth2_google.cpp on line 119, please uncomment all line
now just run it, and you will see that application does not see https.
As far as I can say, I have followed perfectly the documentaiton, therefore this MUST be working...