Skip to content
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

OAUTH2_CLIENT_ID_REGEXP #14

Open
GoogleCodeExporter opened this issue Apr 8, 2016 · 1 comment
Open

OAUTH2_CLIENT_ID_REGEXP #14

GoogleCodeExporter opened this issue Apr 8, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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 [email protected] on 8 May 2012 at 9:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant