Git Product home page Git Product logo

Comments (10)

alexbilbie avatar alexbilbie commented on May 14, 2024

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.

philsturgeon avatar philsturgeon commented on May 14, 2024

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.

jnbdz avatar jnbdz commented on May 14, 2024

That was quick.

from oauth2-client.

jnbdz avatar jnbdz commented on May 14, 2024

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.

philsturgeon avatar philsturgeon commented on May 14, 2024

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.

alexbilbie avatar alexbilbie commented on May 14, 2024

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.

philsturgeon avatar philsturgeon commented on May 14, 2024

@alexbilbie bump

from oauth2-client.

alexbilbie avatar alexbilbie commented on May 14, 2024

Noted.

from oauth2-client.

ramsey avatar ramsey commented on May 14, 2024

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.

ramsey avatar ramsey commented on May 14, 2024

I believe PR #220 has fixed this. If it's still not fixed, please reopen this issue.

from oauth2-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.