Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to authenticate using third party api


  • thecraneadmin
    Participant

    @thecraneadmin

    Hi,
    I was asked to add a forum to our corporate website using bbPress. Based on what I have seen so far it is not hard or complicated to install, configure and use. However, the second part of the request has me stumped. The requirement is not to ask the user to create a new account but rather use the credentials they provided in a third party software to authentication. This third party software provides an API endpoint for authentication. So I need to send the username and password to the third party software to verify the user. If the API returns success then the user can use the forum.

    I assume that a user account still needs to be created in WordPress for bbPress to tag the user’s name to his or her posts. Is this a correct assumption?

    How can I implement this solution? Is there a plugin out there that I can use or can I write some modification to bbPress to achieve this task?

    Here is the info you required.
    WordPress: 5.3
    bbPress: Version: 2.6.3
    Website: https://www.craneresorts.com/

    Regards,
    J

Viewing 3 replies - 1 through 3 (of 3 total)

  • thecraneadmin
    Participant

    @thecraneadmin

    I am still waiting for an answer. Anyone??? Any ideas?? I realize that bbPress always call the core wp-login.php to login, register or reset your password. I know that I can probably add code to wp-login.php but that would be a very bad thing to do as it is a core file and any updates to WP will overwrite your changes. I need a way to intercept the call from bbPress to wp-login.php.

    Thanks,
    J


    Robin W
    Moderator

    @robin-w

    bbpress just uses WordPress login, so suggest you investigate authentication of WordPress

    google around – I got

    https://wordpress.stackexchange.com/questions/268665/set-up-wp-authentication-from-external-api

    from a google of ‘wordpress login using 3rd party credentials’


    thecraneadmin
    Participant

    @thecraneadmin

    Hi Robin,

    Thanks very much for the link. It is exactly what I needed.

    Regards,
    J

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar