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. Google OAuth 2 Login on Qt 6.9.1
Forum Updated to NodeBB v4.3 + New Features

Google OAuth 2 Login on Qt 6.9.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 184 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    Blackzero
    wrote last edited by
    #1

    Hi.

    I am working on logging in with Google OAuth2 and creating my own server based on Node.js that is directed from the desktop app > browser > desktop app. However, when I want to redirect from the browser to the desktop app, I am confused because the browser opens a new application and this causes a Qt DLL error. If I run windeployqt, I cannot see the console app and its process. Is there a solution for this?

    Thank you:)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi,

      How are you doing that ?
      Are you using the Qt Network Auth module for the login part ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi,

        How are you doing that ?
        Are you using the Qt Network Auth module for the login part ?

        B Offline
        B Offline
        Blackzero
        wrote last edited by
        #3

        @SGaist said in Google OAuth 2 Login on Qt 6.9.1:

        How are you doing that ?

        I tried to imitate several applications that use Google Auth, which redirects the login to an external browser. After the login is successful and complete, the external browser returns to the application and retrieves the bearer token (JWT) so that the application can access URLs that require authentication.

        SGaistS 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          How are you doing that ?
          Are you using the Qt Network Auth module for the login part ?

          B Offline
          B Offline
          Blackzero
          wrote last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • B Blackzero

            @SGaist said in Google OAuth 2 Login on Qt 6.9.1:

            How are you doing that ?

            I tried to imitate several applications that use Google Auth, which redirects the login to an external browser. After the login is successful and complete, the external browser returns to the application and retrieves the bearer token (JWT) so that the application can access URLs that require authentication.

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote last edited by
            #5

            @Blackzero usually, applications spin a local web server to get the answer of the authentication process and basically asks the user to close the web page.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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