Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Cannot run authentication scenarios #62

@pavel-gatilov-epam

Description

@pavel-gatilov-epam

Hello,

I have gone through the instructions to set up this sample using Glitch. Overall, this went well. However, I cannot get authentication samples working.

Do I need to somehow configure the application first? Probably needs to do something like https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/authentication/auth-configure ?

AD authentication

  1. Go to the personal page of the bot
  2. Switch to 'Simple Auth' tab
  3. Click 'Login to Azure AD' or 'Login to Azure AD (V2 endpoints)'
  4. Authenticate using my work account

The log in pop up stays visible with this error:
AADSTS700051: response_type 'token' is not enabled for the application

Silent Authentication

  1. Go to the personal page of the bot
  2. Switch to Ailent Auth' tab
  3. Wait

After some time, 'Login to Azure AD' button appears. In browser console, I can see errors (attached)
teams.microsoft.com-1539620532446.log

  1. click 'Login to Azure AD'
  2. Authenticate using my work account

The log in pop up stays visible with a similar error:
AADSTS700054: response_type 'id_token' is not enabled for the application

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions