Making use of the Treat API OAuth Authentication End Point