Skip to content

Commit 613a72f

Browse files
authored
Merge pull request #50 from Azure-Samples/fix-comments-in-config
Fix comments in config files
2 parents 62c5433 + b2a32a6 commit 613a72f

11 files changed

Lines changed: 11 additions & 11 deletions

File tree

1-Authentication/0-sign-in-vanillajs/App/public/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
const msalConfig = {
77
auth: {
88
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
9-
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace "Enter_the_Tenant_Subdomain_Here" with your tenant subdomain
9+
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace the placeholder with your tenant subdomain
1010
redirectUri: '/', // You must register this URI on Azure Portal/App Registration. Defaults to window.location.href e.g. http://localhost:3000/
1111
navigateToLoginRequestUrl: true, // If "true", will navigate back to the original request location before processing the auth code response.
1212
},

1-Authentication/1-sign-in-react/SPA/src/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { LogLevel } from '@azure/msal-browser';
1414
export const msalConfig = {
1515
auth: {
1616
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
17-
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace "Enter_the_Tenant_Subdomain_Here" with your tenant subdomain
17+
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace the placeholder with your tenant subdomain
1818
redirectUri: '/', // Points to window.location.origin. You must register this URI on Azure Portal/App Registration.
1919
postLogoutRedirectUri: '/', // Indicates the page to navigate after logout.
2020
navigateToLoginRequestUrl: false, // If "true", will navigate back to the original request location before processing the auth code response.

1-Authentication/2-sign-in-angular/SPA/src/app/auth-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
export const msalConfig: Configuration = {
2020
auth: {
2121
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
22-
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace "Enter_the_Tenant_Subdomain_Here" with your tenant subdomain
22+
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace the placeholder with your tenant subdomain
2323
redirectUri: '/', // Points to window.location.origin by default. You must register this URI on Azure portal/App Registration.
2424
postLogoutRedirectUri: '/', // Points to window.location.origin by default.
2525
},

1-Authentication/3-sign-in-electron/App/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const TENANT_SUBDOMAIN = 'Enter_the_Tenant_Subdomain_Here';
1515
const msalConfig = {
1616
auth: {
1717
clientId: 'Enter_the_Application_Id_Here',
18-
authority: `https://${TENANT_SUBDOMAIN}.ciamlogin.com/`, // replace "Enter_the_Tenant_Subdomain_Here" with your tenant subdomain,
18+
authority: `https://${TENANT_SUBDOMAIN}.ciamlogin.com/`, // Replace the placeholder with your tenant subdomain,
1919
},
2020
system: {
2121
loggerOptions: {

1-Authentication/4-sign-in-device-code/App/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { LogLevel } = require('@azure/msal-node');
88
const msalConfig = {
99
auth: {
1010
clientId: 'Enter_the_Application_Id_Here', // 'Application (client) ID' of app registration in Azure portal - this value is a GUID
11-
authority: `https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/`, // replace "Enter_the_Tenant_Subdomain_Here" with your tenant subdomain
11+
authority: `https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/`, // Replace the placeholder with your tenant subdomain
1212
},
1313
system: {
1414
loggerOptions: {

1-Authentication/5-sign-in-express/App/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const POST_LOGOUT_REDIRECT_URI = process.env.POST_LOGOUT_REDIRECT_URI || 'http:/
1717
const msalConfig = {
1818
auth: {
1919
clientId: process.env.CLIENT_ID || 'Enter_the_Application_Id_Here', // 'Application (client) ID' of app registration in Azure portal - this value is a GUID
20-
authority: process.env.AUTHORITY || `https://${TENANT_SUBDOMAIN}.ciamlogin.com/`, // replace "Enter_the_Tenant_Subdomain_Here" with your tenant name
20+
authority: process.env.AUTHORITY || `https://${TENANT_SUBDOMAIN}.ciamlogin.com/`, // Replace the placeholder with your tenant name
2121
clientSecret: process.env.CLIENT_SECRET || 'Enter_the_Client_Secret_Here', // Client secret generated from the app registration in Azure portal
2222
},
2323
system: {

2-Authorization/0-call-api-vanillajs/SPA/public/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
const msalConfig = {
77
auth: {
88
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
9-
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // replace "Enter_the_Tenant_Subdomain_Here" with your tenant name
9+
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace the placeholder with your tenant name
1010
redirectUri: '/', // You must register this URI on Azure Portal/App Registration. Defaults to window.location.href e.g. http://localhost:3000/,
1111
postLogoutRedirectUri: '/', // Indicates the page to navigate after logout.
1212
},

2-Authorization/1-call-api-react/SPA/src/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { LogLevel } from "@azure/msal-browser";
1313
export const msalConfig = {
1414
auth: {
1515
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
16-
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace "Enter_the_Tenant_Subdomain_Here" with your tenant subdomain
16+
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace the placeholder with your tenant subdomain
1717
redirectUri: '/', // You must register this URI on Azure Portal/App Registration. Defaults to window.location.origin
1818
postLogoutRedirectUri: '/', // Indicates the page to navigate after logout.
1919
},

2-Authorization/2-call-api-angular/SPA/src/app/auth-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const isIE = window.navigator.userAgent.indexOf("MSIE ") > -1 || window.navigato
1717
export const msalConfig: Configuration = {
1818
auth: {
1919
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
20-
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace "Enter_the_Tenant_Subdomain_Here" with your tenant subdomain
20+
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace the placeholder with your tenant subdomain
2121
redirectUri: '/auth', // Points to window.location.origin by default. You must register this URI on Azure portal/App Registration.
2222
postLogoutRedirectUri: '/', // Points to window.location.origin by default
2323
},

2-Authorization/3-call-api-node-daemon/App/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const fs = require('fs');
1515
const msalConfig = {
1616
auth: {
1717
clientId: process.env.CLIENT_ID || 'Enter_the_Application_Id_Here', // 'Application (client) ID' of app registration in Azure portal - this value is a GUID
18-
authority: process.env.AUTHORITY || 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace "Enter_the_Tenant_Subdomain_Here" with your tenant subdomain
18+
authority: process.env.AUTHORITY || 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/', // Replace the placeholder with your tenant subdomain
1919
clientSecret: process.env.CLIENT_SECRET || 'Enter_the_Client_Secret_Here', // Client secret generated from the app registration in Azure portal
2020
// clientCertificate: {
2121
// thumbprint: process.env.CERT_THUMBPRINT || 'YOUR_CERT_THUMBPRINT', // replace with thumbprint obtained during step 2 above

0 commit comments

Comments
 (0)