How each flow emits tokens and codes
Could you please add details for interactive
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@manikandantk88 Thank you for your feedback . We will investigate and update the thread.
@manikandantk88 Thanks for bringing this to our attention. It's not currently clear from that section's heading, but "interactive" as it's referred to here is relating more to _interactive_ versus _silent_ login--whether the user is (or is not) prompted to sign in--as opposed to a type of token grant flow.
I'm going to leave this one open for now until I/we get a chance to add some clarification, or even perhaps move this section to the Acquire and cache tokens using MSAL doc.
Cc: @hpsin
Interactive has been mentioned one of the authentication flows like authorization code, Implicit Flow etc. In this section, "How each flow emits tokens and codes", tablet column list out token, refresh token, authorization code details etc. In case interactive, how the flow emits token is missing.
As a Mobile Developer, I couldn't know how the token is refreshed once the token validity is expired. Whether it is session based or refresh token based, I was not clear.
One more thing, As per my understanding Interactive flow uses Authorization Code with PKCE behind the scenes. This flow emits access/id token and refresh token. This is information is missing.
Got it. "Interactive" is not a flow, it's just a description that applies to many flows. It just means that the user visited the login page in a browser and that prompt=none wasn't used, so that the user had a chance to interact with the page.
So the authorization code flow, in mobile development, is an "interactive" flow because the user interacts with the login page. When you use the refresh token from the auth code flow to get new access tokens, though, that's "non-interactive".
Same thing with the implicit flow - when you initially sign the user in by redirecting to the sign in page, that's interactive. When you use prompt=none to get a token silently in the background, that's non-interactive.
Hi @manikandantk88, this issue will closed when the following PR has been merged. It modifies the article such that "interactive" does not incorrectly appear as a token grant flow.
@mmacy linked a pull request that will close this issue 6 days ago
[msid][issue] clarify 'interactive' is not a flow (57863) MicrosoftDocs/azure-docs-pr#121086
Many Thanks