witoldsz / angular-http-auth

MIT License
2.38k stars 417 forks source link

Added support for HTTP 403 responses #79

Closed kriswillis closed 9 years ago

kriswillis commented 9 years ago

Broadcasts a message when the user is authenticated but not authorized.

witoldsz commented 9 years ago

Hi, what do you think about the event:auth-forbidden instead of event:auth-authorizationRequired which seems like a synonym for event:auth-loginRequired?

kriswillis commented 9 years ago

I agree, event:auth-forbidden is a better idea.