Skip to content

Latest commit

 

History

History
 
 

examples

Examples

Note: You can login with username: hello@bye.com and password: hello in all the examples listed below.

The following examples offer a good starting point for including Auth0 in your AngularJS application:

  • Custom Login: Custom login form that uses Auth0 to authenticate.
  • Custom Signup: Custom signup plus extra fields added to the user profile on creation.
  • Widget: A simple angular app doing auth with social and username/password using the Login Widget.
  • API Authentication: Call your protected API in the technology you want (Java, .NET, Node.js using Auth0 generated tokens.

Advanced scenarios:

  • UI Router: A full featured example of ui-router with auth0-angular.
  • Delegation Token: Call two different APIs (with different client ids) from a single Angular App.
  • RequireJS: An example of how to integrate auth0-angular with RequireJS.
  • Redirect Mode: An example of how to do redirect-based social authentication (instead of popup).
  • Widget with Redirect Mode: Example of Auth0Login Widget with redirect mode.