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. Login/Registration before accessing the application.
Qt 6.11 is out! See what's new in the release blog

Login/Registration before accessing the application.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 523 Views 4 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.
  • K Offline
    K Offline
    Kaustuv
    wrote on last edited by Kaustuv
    #1

    I have this android app already created in QT. Now I need to build a login/register before entering the app.
    How this should work is; any user needs to login before using the app. If they have not registered yet, if you click on register it will take you to the company website to register. When registered, same credentials should be able to make them log into the app when they come back to the app.

    Login-> check browser server-> opens the app.
    If not a verified user, asks to register.
    Redirect to the company website-> registration->redirects again to the app-> login (verifies if the user is registered)-> opens the app.

    Please senior developers, help me with how this can be achieved. I haven’t created any profile registration before in QT or browser ever. Guide me please, I also seem to not find any only resource to attain this.
    Thankyou so much!!!

    artwawA 1 Reply Last reply
    0
    • mrdebugM Offline
      mrdebugM Offline
      mrdebug
      wrote on last edited by
      #2

      It is not so hard to do and there are a lot of ways to do. I suggest you to not open the company website.
      You should create a Qt form will the all required fields for registration. After that, by pressing the register button (in the Qt form), you will use a remote api (php?, cgi? as you prefear) to create the new customer. If the remote server reply ok the user is registered.
      Using a Qt form instead of to open the company website in a browser, prevents you to have problems with traslation and you will control the registration procedure from the begin to the end.
      It is very easy do to. Made many times.

      Need programmers to hire?
      www.labcsp.com
      www.denisgottardello.it
      GMT+1
      Skype: mrdebug

      1 Reply Last reply
      2
      • K Kaustuv

        I have this android app already created in QT. Now I need to build a login/register before entering the app.
        How this should work is; any user needs to login before using the app. If they have not registered yet, if you click on register it will take you to the company website to register. When registered, same credentials should be able to make them log into the app when they come back to the app.

        Login-> check browser server-> opens the app.
        If not a verified user, asks to register.
        Redirect to the company website-> registration->redirects again to the app-> login (verifies if the user is registered)-> opens the app.

        Please senior developers, help me with how this can be achieved. I haven’t created any profile registration before in QT or browser ever. Guide me please, I also seem to not find any only resource to attain this.
        Thankyou so much!!!

        artwawA Offline
        artwawA Offline
        artwaw
        wrote on last edited by
        #3

        @Kaustuv to add: if at all possible please ensure:

        • all calls to API are using SSL;
        • you compare hashes of the password instead of the real password. Something like SHA-512.

        For more information please re-read.

        Kind Regards,
        Artur

        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