Skip to content

Acquire Token Interactive issue in docker container #736

Closed Answered by rayluo
bruteforcesid asked this question in Q&A
Discussion options

You must be logged in to vote

Per offline conversation, the "web app X" in question is an Chainlit application.

  1. MSAL's PublicClientApplication.acquire_token_interactive() can be used by a desktop script which is potentially running inside docker if the container was started by a certain ways. However, this API is not designed to be used by a web app. And web app shall not use it.
  2. We have other samples tailored for web app (or specifically, tailored for some popular web frameworks, for example, this sample for Flask), but we do not currently have a sample for Chainlit.
  3. Chainlit itself apparently has built-in AAD auth integration.

So, you shall go with #3.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bruteforcesid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants