Azure-Samples / ms-identity-javascript-v2

VanillaJS sample using MSAL.js v2.x and OAuth 2.0 Authorization Code Flow with PKCE on Microsoft identity platform
MIT License
105 stars 84 forks source link

on login -> not getting code back in the response on signIn (getting accessToken back instead) #35

Closed mikeyyyzhao closed 2 years ago

mikeyyyzhao commented 2 years ago

Please follow the issue template below. Failure to do so will result in a delay in answering your question.

Library

Important: Please fill in your exact version number above, e.g. msal@2.1.3. msal@2.1.3

Framework

Description

Error Message

Security

Version:

MSAL Configuration

// Provide configuration values here.
// For Azure B2C issues, please include your policies.

Reproduction steps

// Provide relevant code snippets here.
// For Azure B2C issues, please include your policies.

Expected behavior

Get auth code back in the response but currently only getting authToken back instead.

Browsers/Environment

derisen commented 2 years ago

Closing as duplicate.