Closed yunchancho closed 9 years ago
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."
BTW, we should extend to check `scopes', 'tokenTypes' etc.
I'm adding more checks to https://github.com/strongloop/loopback-component-oauth2/pull/18
Authentication server needs to check grant type of client when it request authorization code or access token. if instance of 'Application' model for the client has 'grantTypes' property, authentication server check if requested type is allowed.
Additionally, I add another patch checking user data regarding email verification.