devanandkamble / oauth2-php

Automatically exported from code.google.com/p/oauth2-php
MIT License
0 stars 0 forks source link

Correct check of expires time #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On AUTH_CODE_GRANT_TYPE and REFRESH_TOKEN_GRANT_TYPE the expires time has to be 
less then the current time to raise an error.

Patch attached.

Original issue reported on code.google.com by robh...@googlemail.com on 4 Nov 2010 at 10:55

Attachments:

GoogleCodeExporter commented 8 years ago
Are you using the latest Mercurial repository checkout 
(http://code.google.com/p/oauth2-php/source/checkout)?

It is already get fixed in 
http://code.google.com/p/oauth2-php/source/detail?r=969fd139d13ff9a6b838da99ff18
020af23c8408 on Sep 04, 2010.

Original comment by hswong3i@gmail.com on 5 Nov 2010 at 8:27

GoogleCodeExporter commented 8 years ago
No, I've used the release in download section.

Original comment by robh...@googlemail.com on 5 Nov 2010 at 9:42

GoogleCodeExporter commented 8 years ago
Package from download section is outdated, and I had discover the same bug, 
too. Checkout latest Mercurial repository can solve this problem, and also 
coming with OAuth2.0 draft v10 implementation.

Original comment by hswong3i@gmail.com on 6 Nov 2010 at 3:14

GoogleCodeExporter commented 8 years ago
Refer to comment #1, this issue is already get fixed since Sep 04, 2010.

Original comment by hswon...@pantarei-design.com on 14 Dec 2010 at 4:47