Implementing OAuth 2.0 from SCRATCH