Are there any open source projects that enabled implementing OAuth Server? Apache Foundation ones?
I would suggest using the Spring Security Module. It's open source and the entire framework is very powerful.