Search code examples
phpoauthoauth-2.0fuelphp

Fuelphp with OAuth2 php server library


I'm trying to implement Oauth2 server library into my fuelphp api. I've been following this tutorial and this one.

I understood and was able to complete the 2nd tutorial, but that doesn't deal with integrating OAuth into Fuelphp.

What I'm wondering, is how to integrate OAuth2 into my api, I just want to replicated a login? Has anyone any other tutorials on how to do this?

Where in my fuelphp directories do I put the Server/ token/ authorization code?

Thanks very much


Solution

  • FuelPHP uses OPauth under the hood and it's use is documented in the official Fuel docs

    The server tokens, authorization codes, etc are stored in the opauth.php config file.