rvijayee / oauth2-php

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

OAUTH2_CLIENT_ID_REGEXP #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
OAUTH2_CLIENT_ID_REGEXP seems to be too restrictive (e.g. it won't accept 
simple numeric client ids from 0 to 99), and cannot be changed without patching 
OAuth2.inc.

Could this be a configuration variable ?

Original issue reported on code.google.com by arnaud.lb on 12 Mar 2011 at 9:22

GoogleCodeExporter commented 8 years ago
To what did you change the regex? It seems that the default regex 
"/^[a-z0-9-_]{3,32}$/i" doesn't validate 123456 as a correct client_id. 

Original comment by RoelVeld...@gmail.com on 8 May 2012 at 9:09