Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Need help finding a problem with my OAuth flow
Forum Updated to NodeBB v4.3 + New Features

Need help finding a problem with my OAuth flow

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 99 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wintermute
    wrote on last edited by Wintermute
    #1

    Hello,

    It seems like a recent bugfix (QTBUG-124333, released in 6.7.2) broke my OAuth flow, which otherwise works correctly with Qt 6.7.1.

    In essence, my QOAuth2AuthorizationCodeFlow::grant() opens the browser and authenticates me just fine -- I can see the "Feel free to close this window" message, and the authorizationCallbackReceived signal triggers, but noither granted nor error ones. There's nothing in the logs.

    I thought of opening a QTBUG for it, but first wanted to ask for your opinion about my code -- maybe you can see something obviously wrong there? https://github.com/flowkeeper-org/fk-desktop/blob/main/src/fk/qt/oauth.py

    Also, if you happen to have an OAuth grant example which works correctly with Qt 6.7.2, I would appreciate a code snippet.

    Thanks!

    Edit: I also tried creating a new QOAuthHttpServerReplyHandler instance, call .listen() and .close() explicitly, but this didn't change anything, i.e. it still works with 6.7.1, and still fails with 6.7.2.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved