wpgsh / cloud4water

Apache License 2.0
0 stars 0 forks source link

AccessToken servlet should get user id or not #8

Closed asd1245dss closed 8 years ago

asd1245dss commented 8 years ago

@alexlukichev In the AuthorizationServlet.I get the userId from the session which is put after user logins.I'm not sure that I can get the user id from where in the AccessToken class.Should the third application offer the userId? image

asd1245dss commented 8 years ago

Alter access_tokens table,add unique restrict to the code field.