How to authenticate customers in external application

Use case covers authorization of a customer in an external application through REST API (customer interface only).
For more information, please look at the picture below: