Skip to content

Commit 581da58

Browse files
committed
review changes, remove creds
1 parent c709e2d commit 581da58

File tree

13 files changed

+27
-25
lines changed

13 files changed

+27
-25
lines changed

1-Authentication/1-sign-in/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Use [Stack Overflow](http://stackoverflow.com/questions/tagged/msal) to get supp
243243
Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
244244
Make sure that your questions or comments are tagged with [`azure-active-directory` `azure-ad-b2c` `ms-identity` `adal` `msal`].
245245

246-
If you find a bug in the sample, raise the issue on [GitHub Issues](../../../issues).
246+
If you find a bug in the sample, raise the issue on [GitHub Issues](../../issues).
247247

248248
To provide feedback on or suggest features for Azure Active Directory, visit [User Voice page](https://feedback.azure.com/forums/169401-azure-active-directory).
249249

31 KB
Loading

1-Authentication/1-sign-in/SPA/src/app/home/home.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class HomeComponent implements OnInit {
5959
getClaims(claims: any) {
6060
this.dataSource = [
6161
{id: 1, claim: "Display Name", value: claims ? claims['name'] : null},
62-
{id: 2, claim: "User Principal Name (UPN) (UPN)", value: claims ? claims['preferred_username'] : null},
62+
{id: 2, claim: "User Principal Name (UPN)", value: claims ? claims['preferred_username'] : null},
6363
{id: 2, claim: "OID", value: claims ? claims['oid']: null}
6464
];
6565
}

1-Authentication/2-sign-in-b2c/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Use [Stack Overflow](http://stackoverflow.com/questions/tagged/msal) to get supp
250250
Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
251251
Make sure that your questions or comments are tagged with [`azure-active-directory` `azure-ad-b2c` `ms-identity` `adal` `msal`].
252252
253-
If you find a bug in the sample, raise the issue on [GitHub Issues](../../../issues).
253+
If you find a bug in the sample, raise the issue on [GitHub Issues](../../issues).
254254
255255
To provide feedback on or suggest features for Azure Active Directory, visit [User Voice page](https://feedback.azure.com/forums/169401-azure-active-directory).
256256

1-Authentication/2-sign-in-b2c/SPA/src/app/home/home.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export class HomeComponent implements OnInit {
2727
takeUntil(this._destroying$)
2828
)
2929
.subscribe((result: EventMessage) => {
30+
console.log(result)
3031
if (result?.payload?.account) {
3132
this.authService.instance.setActiveAccount(result?.payload?.account);
3233
}
@@ -58,8 +59,9 @@ export class HomeComponent implements OnInit {
5859
getClaims(claims: any) {
5960
this.dataSource = [
6061
{id: 1, claim: "Display Name", value: claims ? claims['name'] : null},
61-
{id: 2, claim: "User Principal Name (UPN) (UPN)", value: claims ? claims['preferred_username'] : null},
62-
{id: 2, claim: "OID", value: claims ? claims['oid']: null}
62+
{id: 2, claim: "Object ID", value: claims ? claims['oid']: null},
63+
{id: 3, claim: "Job Title", value: claims ? claims['jobTitle']: null},
64+
{id: 4, claim: "City", value: claims ? claims['city']: null},
6365
];
6466
}
6567

2-Authorization-I/1-call-graph/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Use [Stack Overflow](http://stackoverflow.com/questions/tagged/msal) to get supp
312312
Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
313313
Make sure that your questions or comments are tagged with [`azure-active-directory` `azure-ad-b2c` `ms-identity` `adal` `msal`].
314314

315-
If you find a bug in the sample, raise the issue on [GitHub Issues](../../../issues).
315+
If you find a bug in the sample, raise the issue on [GitHub Issues](../../issues).
316316

317317
To provide feedback on or suggest features for Azure Active Directory, visit [User Voice page](https://feedback.azure.com/forums/169401-azure-active-directory).
318318

2-Authorization-I/1-call-graph/SPA/src/app/auth-config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const isIE = window.navigator.userAgent.indexOf("MSIE ") > -1 || window.navigato
1616
*/
1717
export const msalConfig: Configuration = {
1818
auth: {
19-
clientId: '707c146e-6703-412a-bc2c-feb7f634feed', // This is the ONLY mandatory field that you need to supply.
20-
authority: 'https://login.microsoftonline.com/cbaf2168-de14-4c72-9d88-f5f05366dbef', // Defaults to "https://login.microsoftonline.com/common"
19+
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
20+
authority: 'https://login.microsoftonline.com/Enter_the_Tenant_Info_Here', // Defaults to "https://login.microsoftonline.com/common"
2121
redirectUri: '/', // Points to window.location.origin. You must register this URI on Azure Portal/App Registration.
2222
},
2323
cache: {

2-Authorization-I/1-call-graph/SPA/src/app/home/home.component.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
table {
22
width: 70%;
3-
margin: 10% auto auto auto;
3+
margin: 3% auto auto auto;
44
}
55

66
.card-section {

2-Authorization-I/1-call-graph/SPA/src/app/home/home.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class HomeComponent implements OnInit {
5959
getClaims(claims: any) {
6060
this.dataSource = [
6161
{id: 1, claim: "Display Name", value: claims ? claims['name'] : null},
62-
{id: 2, claim: "User Principal Name (UPN) (UPN)", value: claims ? claims['preferred_username'] : null},
62+
{id: 2, claim: "User Principal Name (UPN)", value: claims ? claims['preferred_username'] : null},
6363
{id: 2, claim: "OID", value: claims ? claims['oid']: null}
6464
];
6565
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
table {
2-
width: 70%;
3-
margin: 10% auto auto auto;
4-
}
5-
2+
width: 70%;
3+
margin: 1% auto auto auto;
4+
}
5+
66
.card-section {
7-
margin: 10%;
8-
padding: 5%;
9-
}
7+
margin: 10% 10% 1% 10%;
8+
padding: 4%;
9+
}

0 commit comments

Comments
 (0)