Qt World Summit: Register Today!

QOAuth for authenticating a user

  • i have a use case in which the user logs in to the desktop aapln and connects to the server.

    the server returns a token which gets used for further requests and gets refreshed as required.

    For this i am trying to use the oAuth workflow.
    For my need it feels I have to use grant type " resourve owner password credential".

    Can anybody help me with a minimal example on how to use it?
    Also some pointers on this concept would be helpful.