-
Notifications
You must be signed in to change notification settings - Fork 950
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
I think this a question rather then an issue #644
Comments
Public clients should still have a client_id, just not a secret. All access
|
Sorry for this but I made a mistike while writing my question. I meant the |
NULL is fine for client_secret. Feel free to alter the schema, or submit a
|
I added pull requests for this. |
* Forcing CLIENT_SECRET to be mandatory restricted implementations that wanted to use unauthorized clients. * Example issue: bshaffer/oauth2-server-php#644
I posted this also on stackoverflow.
Why is in the database scheme the
client_secret
column not allowed to be null (client_secret VARCHAR(80) NOT NULL
)? Is this the common configuration for a valid OAuth database schema?It is quite common to have public clients that don't need a password. I see that people set an empty string (
''
) in such cases, but a null values seems much cleaner to me.Is there some special reason to prohibit null values in this case?
The text was updated successfully, but these errors were encountered: