octobroid / oc-oauth2-plugin

OAuth 2 plugin for OctoberCMS.
MIT License
10 stars 9 forks source link

Example usage #1

Open bkrajendra opened 6 years ago

bkrajendra commented 6 years ago

Hi looks very nice work you have done. Is it possible for you to provide some example usage for this plugin?

triasrahman commented 6 years ago

Sure, we will update the documentation on this repository.

bkrajendra commented 6 years ago

Thanks for the quick reply. Actually I'm developing a Oauth2 login for Amazon Alexa Lambda function.

I tried to use you two API and Oauth2 plugins but its throwing error in line 35 in Oauth2 at

ApiController::extend(function($controller) {

saying extend method does not exist. I tried changing it to Extendable but it does not work.

jacksun101 commented 6 years ago

@triasrahman Thanks for this plugin. Any updated doc?

thesigae commented 6 years ago

@triasrahman I am very interested in seeing documentation for this as well. Working on a project and wonder if this will work for Quick Books Online OAuth2 request.

triasrahman commented 6 years ago

Hi @thesigae @jacksun101 @bkrajendra , good news! I've updated the plugin documentation. Please take a look the README file. Feel free if you guys have any questions :)

bkrajendra commented 5 years ago

Thank you @triasrahman. Any plan for adding authorization code grant , client credentials grant or Personal access tokens. I really need ACG using it in my Amzon Alexa skill server. Currently ive setup separate server for it using Laravel Passport.

Or you can also provide quick guide for adding other methods so that others can follow it and contribute to your code.