How to use the Microsoft Identity Platform with Angular Application | MSAL | Entra ID | SPA

  Рет қаралды 3,750

Learn with Jon

Learn with Jon

Күн бұрын

Пікірлер: 20
@legionsman7476
@legionsman7476 5 күн бұрын
if you added app roles to the client or api and you want to return each users role, how do you go about that?
@legionsman7476
@legionsman7476 5 күн бұрын
and what if you had multiple API scopes? i have 2: user.read and a custom one called access.user. when i tried to add multiple scopes, i would never be able to display the roles from the access.user scope.
@LearnWithJon
@LearnWithJon 5 күн бұрын
Thank you for watching. I assume you have already correctly added those scopes in "EntraID > App Registrations > API Permissions". The next step you need to take is to add them in the environment config. In my sample project, it is located at "frontend-angular/src/environments/environment.dev.ts". I would look like this: apiConfig: { scopes: ['user.read','access.user'], ..... } I hope this helps. Have a nice day ahead.
@sumangeorge7
@sumangeorge7 Ай бұрын
On refresh the site is giving below result "The connection for this site is not secure localhost sent an invalid response."
@LearnWithJon
@LearnWithJon Ай бұрын
@sumangeorge7 Thank you for watching my video. Unfortunately, I didn't encounter this on my end. Have you checked my git repo for the source code of this demo project? github.com/ryanninodizon/msal-angular17-with-listdata or tried my own Azure Developer CLI template? azure.github.io/awesome-azd/?name=Azure+Serverless
@arshadmujawar2432
@arshadmujawar2432 2 ай бұрын
@LearnWithJon Hi , the video was very helpful thanks I have one question why build is have postinstall : msal what is significance of it ? Is it madantory ?
@LearnWithJon
@LearnWithJon 2 ай бұрын
Hello, Thank you for watching my video. Microsoft Authentication library is the one who do the magic for you for making the authorization/authentication working. You need to install that dependency. ' See more details about MSAL here: learn.microsoft.com/en-us/entra/msal/overview Thanks again and have a nice day ahead.
@arshadmujawar2432
@arshadmujawar2432 2 ай бұрын
Hi , i was asking like why we are running that tarball.js script while building the app since we have the dep in package json already , msal browser and angular . Correct me if i am thinking in wrong way
@LearnWithJon
@LearnWithJon 2 ай бұрын
@@arshadmujawar2432 ah that one. you can ignore that. That is being used for your local dependencies. When you deploy your app to PROD. you dont need that. Thats why when you visit my git repo for this sample project. this is located to a different folder github.com/ryanninodizon/msal-angular17-with-listdata/tree/main/sample-scripts
@arshadmujawar2432
@arshadmujawar2432 2 ай бұрын
Ohk ohk thanks I got it .
@varshask3231
@varshask3231 7 ай бұрын
Inprogress$ not available error iam getting what do I do😮
@LearnWithJon
@LearnWithJon 7 ай бұрын
Thank you for watching my video. Is that error coming from angular? Have you installed angular dependencies before running the app? Check the source code for this demo here: github.com/ryanninodizon/msal-angular17-with-listdata Hope it helps. Have a nice day.
@FUNc4l4v3r4
@FUNc4l4v3r4 3 ай бұрын
is quite hard to follow without any commentary
@LearnWithJon
@LearnWithJon 3 ай бұрын
Thank you for watching as well as giving feedback. I will use this to make my future video more helpful. You can use the timestamp so you can go directly to the part that you might like to see right away or watch my other video related to this: kzbin.info/www/bejne/Z2m2Y2yCZ7Jrq5o
@FUNc4l4v3r4
@FUNc4l4v3r4 3 ай бұрын
@@LearnWithJon yeah time timedtamps are good
@LearnWithJon
@LearnWithJon 3 ай бұрын
@@FUNc4l4v3r4 thanks again for watching and have a nice day ahead.
@mharadaily
@mharadaily 8 ай бұрын
Helpful ❤
@강삼순-n2f
@강삼순-n2f 7 ай бұрын
Thank You.
@LearnWithJon
@LearnWithJon 5 ай бұрын
You're welcome. Thank you for watching.
Master Azure AD Authentication in 30 Minutes with Angular and .NET Core 8!
23:33
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Connect your Blazor Web App to Microsoft Entra ID (.NET 8)
7:09
Code with Anjuli
Рет қаралды 10 М.
Angular Resource API - Everything You Have To Know (so far)
27:58
Decoded Frontend
Рет қаралды 19 М.
Get started with Microsoft Entra external ID
10:36
Microsoft Security
Рет қаралды 4,1 М.
The .NET 8 Auth Changes You Must Know About!
10:27
Nick Chapsas
Рет қаралды 149 М.
Angular Azure Active Directory(ad) Authentication Using msal
28:51
AzureTeach•Net
Рет қаралды 36 М.
Trump announced the end date of the war / Emergency plane landing
14:05
Something is wrong with ISPs in India 🇮🇳
13:17
Mehul - Codedamn
Рет қаралды 85 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН