Integrate auth0 with excel web add-in

I tried following an example provided at https://docs.microsoft.com/en-us/office/dev/add-ins/tutorials/excel-tutorial to create simple web add-in for an excel.

I am trying to see if I can integrate auth0 login into that web add-in. Is that possible? I went through couple of old threads but cannot find the example for the same. Also, if that is possible, what kind of workflow I am supposed to use, PKCE or SPA? I would like users to click on a button which loads Auth0’s login page and upon successful login, it receives the access token/id token.