Skip to content

Instantly share code, notes, and snippets.

@ericbaranowski
Created August 13, 2018 06:08
Show Gist options
  • Select an option

  • Save ericbaranowski/d5070a9956853b6fc1691198425dc175 to your computer and use it in GitHub Desktop.

Select an option

Save ericbaranowski/d5070a9956853b6fc1691198425dc175 to your computer and use it in GitHub Desktop.
{
"AzureAd": {
"AppId": "<to be updated>",
"ClientId": "<to be updated>",
"ClientSecret": "<to be updated>", // This sample uses a password (secret) to authenticate. Production apps should use a certificate.
"Instance": "https://login.microsoftonline.com/",
"Domain": "<to be updated>",
"TenantId": "<to be updated>",
"CallbackPath": "/signin-oidc",
"BaseUrl": "<to be updated>",
"Scopes": "openid email profile offline_access User.Read.All Mail.Send Sites.ReadWrite.All Files.ReadWrite.All Group.ReadWrite.All Directory.ReadWrite.All",
"GraphResourceId": "https://graph.microsoft.com/",
"GraphScopes": "User.Read.All Mail.Send Sites.ReadWrite.All Files.ReadWrite.All Group.ReadWrite.All Directory.ReadWrite.All"
},
"ProposalManagement": {
"SharePointHostName": "<to be updated>",
"ProposalManagementRootSiteId": "<to be updated>",
"OpportunitiesSubSiteId": "<to be updated>",
"CategoriesListId": "Categories",
"IndustryListId": "Industry",
"RegionsListId": "Regions",
"NotificationsListId": "Notifications",
"UsersListId": "UsersProfile",
"RolesListId": "ProcessMappings",
"OpportunitiesListId": "Opportunities",
"PublicOpportunitiesListId": "OpportunitiesList",
"SharePointListsPrefix": "",
"GraphRequestUrl": "https://graph.microsoft.com/v1.0/",
"GraphBetaRequestUrl": "https://graph.microsoft.com/beta/",
"ServiceEmail": "",
"UserProfileCacheExpiration": 30,
"MicrosoftAppId": "<to be updated>",
"MicrosoftAppPassword": "<to be updated>",
"AllowedTenants": "<to be updated>",
"BotServiceUrl": "https://smba.trafficmanager.net/amer-client-ss.msg/",
"BotName": "<to be updated>",
"BotId": "<to be updated>",
"TeamsAppInstanceId": "<to be updated>"
},
"Logging": {
"LogLevel": {
"Default": "Warning"
}
}
}
/*
* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
* See LICENSE in the source repository root for complete license information.
*/
// General settings
export const appUri = '<to be updated>';
// Authentication settings
export const clientId = '<to be updated>';
export const redirectUri = appUri + "/";
export const instanceId = 'https://login.microsoftonline.com/';
export const graphScopes = ["offline_access", "profile", "User.ReadBasic.All", "mail.send"];
export const graphScopesAdmin = ["offline_access", "profile", "User.Read.All", "mail.send", "Sites.ReadWrite.All", "Files.ReadWrite.All", "Group.ReadWrite.All"];
export const webApiScopes = ["api://<to be updated>"];
export const clientSecret = '<to be updated>';
//export const authority = 'https://login.microsoftonline.com/onterawe.onmicrosoft.com'; // Use to override common login and specify authority (tenant) to use eg. https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authori
export const authority = null; // Null for login as common (multi-tenant also) eg. https://login.microsoftonline.com/common/oauth2/v2.0/authorize
export const teamsAppInstanceId = "<to be updated>";{
"$schema": "https://statics.teams.microsoft.com/sdk/v1.2/manifest/MicrosoftTeams.schema.json",
"manifestVersion": "1.2",
"version": "1.0.0",
"id": "be9cae62-f0a5-49a1-8799-1a3c28ed88a0",
"packageName": "com.teams.porpmgmt",
"developer": {
"name": "Microsoft",
"websiteUrl": "<to be updated>",
"privacyUrl": "<to be updated>",
"termsOfUseUrl": "<to be updated>"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "Proposal Manager",
"full": "Proposal Manager Tab Add-in for Microsoft Teams"
},
"description": {
"short": "Empower banking with Proposal Manager tool.",
"full": "Empower banking with Proposal Manager tool."
},
"accentColor": "#FFFFFF",
"configurableTabs": [
{
"configurationUrl": "<to be updated>/tab/config?channelName={channelName}&teamName={teamName}&groupId={groupId}&channelId={channelId}&upn={upn}",
"canUpdateConfiguration": true,
"scopes": [
"team"
]
}
],
"bots": [
{
"botId": "<to be updated>",
"scopes": [
"personal",
"team"
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"<to be updated>",
"login.microsoftonline.com"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment