-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Value/interest in an approach to Oauth via web application flow? #75
Comments
Hi David, Looking forward for you pull-request. |
New AuthType and the ability to set an oauth token - as per the following excerpt. Your code will have to take the steps necessary to get the OAUTH token an example can be seen [in this issue](tan-tan-kanarek#75) ``` $client = new GitHubClient(); // The following two methods are new additions $client->setAuthType( 'Oauth' ); $client->setOauthToken( $oauth_token ); ```
Awesome. This helped me with my problem today. Thanks guys! |
G'day,
Problem
My aim in using this client has been to use it in a web application. The problem is that I don't believe that the client supports GitHub Oauth via web application flow
Possible solution
I've developed a possible solution by combining this client with this PHP OAuth wrapper. The code below is for a simple web application that has the combination working.
To get this working has required some changes to GitHubClient base.
Relevant questions are
The text was updated successfully, but these errors were encountered: