wpgsh / cloud4water

Apache License 2.0
0 stars 0 forks source link

AccessTokenServlet should be accessed with the basic authorization #13

Closed asd1245dss closed 8 years ago

asd1245dss commented 8 years ago

image @alexlukichev In the AccessTokenServletTest,the testError_InvalidClient method is used for testing the process of getting the access token.You add the request property with the key 'authorization',If I need to add basic http authorization for the AccessTokenServlet or it's just a sample not the real process.

alexlukichev commented 8 years ago

Per RFC 6749 the recommended way to authenticate clients is to use Basic Authentication.