Comments (2)
Hi @n8allan -scopes are really not the right sort of tool to use for your scenario, as you just need to restrict access to certain pages as I understand. A scope is for accessing a resource server, which is supposed to validate it and respond with some action. But client apps are not resources. So there might be a hacky way to achieve the effect you want with scopes, but this is a misuse of the protocol. I would recommend instead to look into using security groups for access control (and keep in mind, in a client side browser app, these restrictions are really just UI effects -a savy user can always find ways to access those pages). You can find a good article of how to do this with B2C here. Let me know if this helps!
from ms-identity-javascript-angular-tutorial.
Closing due to inactivity. Let us know if you have further questions.
from ms-identity-javascript-angular-tutorial.
Related Issues (20)
- When using the MSALGuard and RoleGuard on a route, the Role guard will allow access even if the user does not have the correct role HOT 22
- MSAL redirect Login When click public action Controller
- Forget passeword returns with AADB2C error code HOT 5
- Document recommend approach for calling web API using PoP tokens HOT 2
- API Issue - 500 Error HOT 4
- Group claims not added HOT 5
- Use Angular's own router when handling redirect response HOT 16
- Refactor component to handle claims challenge HOT 15
- Documentation is outdated HOT 5
- How to maintain multiple ClientID's in Multitenant scenario with Vendor, Customers and a Microsft Tenant HOT 8
- How to handle access_denied: AADB2C90091: The user has cancelled entering self-asserted information. HOT 4
- Angular router.navigate not working inside a subscribe of acquireTokenSilent or loginPopup HOT 9
- "Call a web API using App Roles" does not use separate App Registrations for API and SPA HOT 2
- After login, need another layer of Admin approval when trying to access API HOT 2
- Can't call MS Graph using Azure B2C app id HOT 1
- Help with Error : IDX10503: Signature validation failed. The token's kid is: 'MYKEYID', but did not match any keys in TokenValidationParameters or Configuration. Keys tried
- how to enables CAE in Azure
- I want to add Check for User login whether B2C user is present I my DB then only want to do successful login ?
- Error when starting application: Unsupported digital envelope routines: [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ms-identity-javascript-angular-tutorial.