I find a sample (tonr/sparklr) base oauth2,but it doesn't seperate resource and authorization server,and I am failed to try seperate it.So my question is
1. Is there any samples which hae seperated resource and authorization server?
2. How to seperate resource and authorization server for the sample (tonr/sparklr)
Any help will be gratefully appreciated.Thx!

