Authenticating a customer / user

We are building a customer support ticket submission form. We want to have the end user provide the username and password for their Shopify account. We would want to validate that against Shopify, so that we can pull Order and Line Item information to drive the Customer Support submission form. Once we gather the customer’s issue, we would create the support ticket in our CS system.

Is this possible?