Before requesting resources, a client application must first authenticate the user with authentication server in order to get an access token. The client then uses the access token to request resources.
Two tasks must be completed for the client application to be able to authenticate the user with authentication server: