Fix token page URL
ClosedPublic

Authored by davidk on Jan 12 2018, 3:02 PM.

Details

Summary

It seems like Google changed the URL of the token page.
Maybe we should use QString::startsWith, to be futureproof?

BUG: 388483

Test Plan
  • Login in KOrganizer and KMail works again
  • All tests pass (though i think there is no oauth2 test)

Diff Detail

Repository
R477 KGAPI Library
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
davidk requested review of this revision.Jan 12 2018, 3:02 PM
davidk created this revision.

It's good if it logs now.
But where do you find info about new url ?

It's good if it logs now.
But where do you find info about new url ?

I got the info by adding debug output. I didn't find any official info about it, probably because it's an implementation detail which we shouldn't depend on.
The only reference i cound find, was some microsoft bug report.

mlaurent accepted this revision.Jan 13 2018, 8:34 AM

Yep I investigated too and it seems that it's the solution see ""https://github.com/VBA-tools/VBA-Web/issues/290"

This revision is now accepted and ready to land.Jan 13 2018, 8:34 AM
davidk updated this revision to Diff 25265.Jan 13 2018, 12:27 PM

Remove question in commit message

This revision was automatically updated to reflect the committed changes.