Comments (10)
Thanks, I'll take a look in a bit.
Emailing from my iPhone like a BOSS
On 24 Nov 2013, at 08:09, Jean-Nicolas Boulay [email protected] wrote:
I tried to add DropBox as a provider.
Here is my code: https://gist.github.com/jnbdz/7624654
I was actually able to solve the problem quickly, but I think this is something you guys should think about for your next version.
To make DropBox work I had to comment out line 70:
//'approval_prompt' => 'force' // - google force-recheck
The problem then is if I want to use Google it won't work anymore...
—
Reply to this email directly or view it on GitHub.
from oauth2-client.
This has already changed in master.
—
Sent from Mailbox for iPhone
On Sun, Nov 24, 2013 at 7:30 AM, Alex Bilbie [email protected]
wrote:
Thanks, I'll take a look in a bit.
Emailing from my iPhone like a BOSS
On 24 Nov 2013, at 08:09, Jean-Nicolas Boulay [email protected] wrote:
I tried to add DropBox as a provider.
Here is my code: https://gist.github.com/jnbdz/7624654
I was actually able to solve the problem quickly, but I think this is something you guys should think about for your next version.
To make DropBox work I had to comment out line 70:
//'approval_prompt' => 'force' // - google force-recheck
The problem then is if I want to use Google it won't work anymore...
—
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub:
#40 (comment)
from oauth2-client.
That was quick.
from oauth2-client.
I just look at the code and I still see:
'approval_prompt' => 'force' // - google force-recheck
Maybe you can add a "if" to see if it is a Google provider being used, to then add it afterwards with array_merge or something.
from oauth2-client.
I was wrong, its not I'm master but there is a PR for it:
https://github.com/php-loep/oauth2-client/pull/23/files
Test it out and see if it helps.
Phil Sturgeon
On Sunday, November 24, 2013 at 11:51 AM, Jean-Nicolas Boulay wrote:
I just look at the code and I still see:
'approval_prompt' => 'force' // - google force-recheck
Maybe you can do an if to see if it is Google provider to then add it afterwards with array_merge or something.—
Reply to this email directly or view it on GitHub (#40 (comment)).
from oauth2-client.
Heads up, I working on an example app which uses this library so that we can test pull requests against
On 24 Nov 2013, at 16:54, Phil Sturgeon [email protected] wrote:
I was wrong, its not I'm master but there is a PR for it:
https://github.com/php-loep/oauth2-client/pull/23/files
Test it out and see if it helps.
Phil Sturgeon
On Sunday, November 24, 2013 at 11:51 AM, Jean-Nicolas Boulay wrote:
I just look at the code and I still see:
'approval_prompt' => 'force' // - google force-recheck
Maybe you can do an if to see if it is Google provider to then add it afterwards with array_merge or something.—
Reply to this email directly or view it on GitHub (#40 (comment)).—
Reply to this email directly or view it on GitHub.
from oauth2-client.
@alexbilbie bump
from oauth2-client.
Noted.
from oauth2-client.
I closed PR #23, as the repository is dead and the author just confirmed that it is dead. I'll keep this issue open, as we may need another PR for it.
from oauth2-client.
I believe PR #220 has fixed this. If it's still not fixed, please reopen this issue.
from oauth2-client.
Related Issues (20)
- Deprecated function: Return type HOT 1
- Oauth2 refresh problems HOT 1
- AccessToken setTimeNow is useless function
- PHP Combability issue
- Security issue HOT 1
- Basic example improvements HOT 1
- Basic example improvements (2)
- Allow any psr-18 http client (instead of requiring guzzle) HOT 1
- Security vulnerabilities in specific guzzlehttp/guzzle versions
- Error fetching OAuth credentials: "Missing required parameter [code_verifier]."
- Logout HOT 1
- Class 'Illuminate\Support\Facades\Http' not found
- Suddenly getting error Class "djchen\OAuth2\Client\Provider\Fitbit" not found
- Issue with generating and validating the same token.
- ID Token for access token possible? HOT 1
- New stable release? HOT 6
- pkce no longer appears in src/Provider/AbstractProvider.php HOT 4
- Create multipart/form-data requests? HOT 1
- Support for PHP 8.2? HOT 1
- PKCE: Unset oauth2pkceCode from session after login?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oauth2-client.