The communication used to communicate with the Identity provider is HTTP communication. It is important to distinguish Token and Authorize endpoints, because depending on the type of the client application it could be that you need to use only one of them.
The authorize endpoint can be used to request tokens or authorization codes via the browser. This process typically involves authentication of the end-user and optionally consent.undefined
The token endpoint can be used to programmatically request tokens.undefined