Open Bot Channel Registration page and choose Configuration in Settings and click Add OAuth Connection Settings
Bot Channel Registration – add new
OAuth Connection Settings
In the open form you need to fill in the following fields:
•Name - Insert OAuth connection name
•Service provider – From dropdown choose Generic Oauth 2
•Client ID – insert “nsp-msteams-bot”
•Client secret – will be detailed explained bellow *
•Authorization URL – insert “<auth-server-url>/connect/authorize”
•Token URL – insert “<auth-server-url>/connect/token”
•Refresh URL – insert “<auth-server-url>/connect/token”
•Token Exchange URL - leave this field empty
•Scopes – insert: “openid profile roles nspWebApi offline_access”
NOTE: You will use this OAuth connection name later in Microsoft Teams settings in NSP application (field: Azure OAuth Connection Name)