Code Monkey home page Code Monkey logo

Comments (9)

github-actions avatar github-actions commented on August 17, 2024

This issue has not seen activity in 14 days. If your issue has not been resolved please leave a comment to keep this open. It will be closed in 7 days if it remains stale.

from ms-identity-javascript-angular-tutorial.

jag-sekhon avatar jag-sekhon commented on August 17, 2024

Still waiting for response on this one.

from ms-identity-javascript-angular-tutorial.

github-actions avatar github-actions commented on August 17, 2024

This issue has not seen activity in 14 days. If your issue has not been resolved please leave a comment to keep this open. It will be closed in 7 days if it remains stale.

from ms-identity-javascript-angular-tutorial.

github-actions avatar github-actions commented on August 17, 2024

This issue has been closed due to inactivity. If this has not been resolved please open a new issue. Thanks!

from ms-identity-javascript-angular-tutorial.

salman90 avatar salman90 commented on August 17, 2024

Hi @jag-sekhon,

Sorry for not getting back to you sooner. Please look at sample ms-identity-javascript-angular-tutorial/5-AccessControl/1-call-api-roles/. In this scenario, you will find an example of an Angler (SPA) making (get, post, update, delete) calls to a secure web API.

from ms-identity-javascript-angular-tutorial.

jag-sekhon avatar jag-sekhon commented on August 17, 2024

Hi Salman
Thank you for replying back about this. We are using same approach to call api's. The issue is automatically adding the Auth/Bearer Token by HttpInterceptor. It gets added to GET,POST and OPTIONS but we have to manually add it to PUT and DELETE request as its not getting added there. We are not able to find out why this is happening or where do we need to set it up. We are using MSAL-Angular and Msal-browser libraries and on B2C side, we have setup custom policies but in those policies we are not able to find any place where we could have blocked these requests. Please let us know where we can look.

Thank you

from ms-identity-javascript-angular-tutorial.

salman90 avatar salman90 commented on August 17, 2024

@jag-sekhon can you check sample 3-2) Protect and call a web API on Azure AD B2C . This sample demonstrates a todo-list (SPA) making (get, post, update, delete) calls to an ASP.NET Core API secured with Azure AD B2C. If the error persists after trying the sample, please share a piece of your code to reproduce the error.

from ms-identity-javascript-angular-tutorial.

github-actions avatar github-actions commented on August 17, 2024

This issue has not seen activity in 14 days. If your issue has not been resolved please leave a comment to keep this open. It will be closed in 7 days if it remains stale.

from ms-identity-javascript-angular-tutorial.

github-actions avatar github-actions commented on August 17, 2024

This issue has been closed due to inactivity. If this has not been resolved please open a new issue. Thanks!

from ms-identity-javascript-angular-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.