Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

oauth2 with pipacs/o2 and grant type user credentials



  • Hallo there,

    I am building a REST Server which uses oauth2. I now want to link my QT app with the help of pipacs/o2 classes.
    Basic connecting works well but it seems that the grant type user credentials is not yet supported by o2.
    So setting a password in the o2 class is not supported.

    Is there maybe another good way to do the auth via outh2 with a user password? maybe an example?


  • Lifetime Qt Champion

    Hi,

    Did you try contacting the author of the library to see if it's a work in progress or even planned ?



  • Hey,

    yes I contacted him. He is not planing to implement this feature atm.
    Since consuming Rest apis is not so difficult I try to implement it myself.



  • A basic password oauth2 functionality is now added to the project.


  • Lifetime Qt Champion

    Nice !

    In that case, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)


Log in to reply