I'm currently trying to connect the Azure Directory Authentication Library (ADAL.JS) to the UI-Router interface. I plugged it in and it redirects correctly, but it always clogs 404 before redirecting. The forwarding works and then goes back to my application that shows 404.
I changed the state as follows:
{ state: 'admin', config: { url: '/admin', templateUrl: 'app/admin/admin.html', controller: 'AdminController', controllerAs: 'vm', title: 'Admin', settings: { nav: 2, content: '<i class="fa fa-lock"></i> Admin' }, requireADLogin: true }
I have work with a regular Angular RouteProvider, and no 404 is thrown.
The application that I am trying to invest in was created by John Papas Yo's hot towel generator.
source share