uafrica / oauth-server

OAuth Server
Other
51 stars 51 forks source link

Only /access_token route needs to support json extension #55

Closed sukihub closed 7 years ago

sukihub commented 7 years ago

I've found 1 more change, I guess I forgot about it earlier.

Basically, /oauth and /oauth/authorize actions do not need to support json extension. Actually, /oauth/authorize.json might even leak some sensitive data (if not careful), so I think that it is better to disable it completely.