mvertopoulos / vue-msal

Vue plugin for using Microsoft Authentication Library (MSAL)
MIT License
123 stars 66 forks source link

Incorrect discovery endpoint #10

Closed ankur198 closed 4 years ago

ankur198 commented 4 years ago

I have configured options as

new MSAL(
      {
        auth: {
          clientId: 'cfb536c3-057a-4d15-8283-91fcd5101c50',
          // tenantId: '3f4cc564-facc-4cef-bb21-415cf301f9d3',
          tenantId: 'virtualcollegebyankur.onmicrosoft.com',
          tenantName: 'virtualcollegebyankur.b2clogin.com',
          validateAuthority: false,
          redirectUri: 'localhost:3000'
        },
        framework: {
          globalMixin: true
        }
      },

And still it goes to common discovery endpoint

image

It should go to url https://login.microsoftonline.com/virtualcollegebyankur.onmicrosoft.com/v2.0/.well-known/openid-configuration

Am I missing something? Config setting?

ankur198 commented 4 years ago

Found that removing tenantName solves the issue

mvertopoulos commented 4 years ago

Duplicate of #11

mvertopoulos commented 4 years ago

Duplicate of #11