Comments (4)
It's intentional for that sample :) These samples present incremental feature additions for securing a whole application. There will be a sample up shortly called 04-Authorization
which will cover what you're looking for. In the meantime, check out angular-jwt and, in particular, the instructions for adding requiresLogin.
from auth0-angularjs-samples.
Here's the sample: https://github.com/auth0-samples/auth0-angularjs-samples/tree/master/04-Authorization
from auth0-angularjs-samples.
Thanks for the quick turn around @chenkie . Will test it soon, and close the issue.
Btw, we are starting a new angular spa using auth0 with api auth, and i assume this project should be prefered than the old angular samples, which doesnt use newer options for api auth (OIDC) ?
from auth0-angularjs-samples.
No prob :)
Yes that's correct! We recommend following OIDC as laid out in these samples and in the quickstarts.
from auth0-angularjs-samples.
Related Issues (20)
- outdated angular-ui-router version HOT 2
- Error: username option is required HOT 3
- Package.json component must be renamed.
- Following quickstart and SPA sends an opaque token to backend HOT 5
- Profile only shows after page refresh
- outdated dependencies HOT 1
- Single Page App Angular 1.x: Outdated auth0-js dependency
- Wrong audience parameter in 03-calling-an-api, 04-authorization and 05-token-renewal sample projects.
- Typo in Readme file for 04-authorization
- Outdated dependency in package.json for all samples.
- Deprecated express-jwt-authz in 04-authorization HOT 2
- Bad formatting for the API error messages
- No instructions for executing some parts on docker HOT 2
- API calls doesn't work while executing on docker HOT 1
- 02-custom-login-form sign up error
- infinite loading after login and parameter warning
- hangs after login HOT 3
- Vulnerabilities showing up across all AngularJS Samples HOT 2
- Lock's version outdated on index.html
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 auth0-angularjs-samples.