schema architecture oAuth