-
Notifications
You must be signed in to change notification settings - Fork 24
-
Notifications
You must be signed in to change notification settings - Fork 24
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
500 error if add token with same name as existing #135
Comments
what should happen? I guess some proper error message? |
Expected behavior needs to be defined - does the RFC for oauth mention anywhere that the name needs to be unique? Otherwise it's a bug and the 500 should not appear |
the RFC says:
I think the uniqueness of the name is up to owncloud requirements |
|
the name of the client is out of scope of the specs. uniqueness is part of ux from my pov. Why would you want to add 10 clients with the name 'iOS' ? How to know which one is which? |
in terms of UX: there shall be no http status code 500 ;-) |
I can interpret this as: I should catch the unqiueConstraintViolation, and return some 4xx error and make it look pretty :) |
Fixed by #237 |
iOS
and any redirection URLThe text was updated successfully, but these errors were encountered: