We are using a PowerApp which makes calls, via a custom connector, to a serverless Azure API (done via http triggered Azure functions) protected by ADB2C.
The API behaves slightly differently for different users, e.g. accesses different data.
We want users to be able to logout and then log back in as a different user.
How can we do that? Conceptually I can see that we could add a Logout method to the API, and include that in the custom connector's methods. But what code should the Logout method actually have (given that the user is going to be returned not to some different url within a website, but to somewhere within the PowerApp)?
Thanks!

Report
All responses (
Answers (