Add the referral and authorization endpoints, update tests and documentation
Add the referral and authorization endpoints, update tests and documentation