Authenticate a user and receive the JWT token to be used in the header of subsequent requests.When used with a third-party provider, such as Google, the request returns a location property. You redirect to the specified URL in your frontend to continue authentication with the third-party service.