Use when adding authentication to Angular applications with route guards and HTTP interceptors - integrates @auth0/auth0-angular SDK for SPAs
84
77%
Does it follow best practices?
Impact
100%
1.47xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/auth0/skills/auth0-angular/SKILL.mdProtected routes with functional auth guard
Environment config file
87%
100%
authorizationParams redirect_uri
50%
100%
provideAuth0 in app.config.ts
0%
100%
Correct SDK import
25%
100%
Functional guard pattern
100%
100%
Guard redirects on unauthenticated
80%
100%
Guard uses isAuthenticated$ pipe
25%
100%
canActivate applied to protected routes
100%
100%
isLoading$ guard in template
0%
100%
loginWithRedirect call
100%
100%
logout with returnTo
100%
100%
No manual token storage
100%
100%
HTTP interceptor for automatic token attachment
HTTP interceptor chosen
0%
100%
authHttpInterceptorFn registered
0%
100%
allowedList configured
0%
100%
API audience in authorizationParams
100%
100%
Environment config used
100%
100%
PatientService uses plain HttpClient
100%
100%
user$ for profile display
100%
100%
error$ for error handling
100%
100%
isLoading$ used
0%
100%
No manual token storage
100%
100%
Correct SDK package
100%
100%
provideAuth0 for standalone
100%
100%
AuthService mock for unit tests
Mock uses of() for isAuthenticated$
70%
100%
Mock uses of() for user$
70%
100%
loginWithRedirect is a spy
100%
100%
logout is a spy
100%
100%
getAccessTokenSilently spy with returnValue
0%
100%
Mock used via useValue in TestBed
100%
100%
ProfileComponent uses user$
100%
100%
NavbarComponent auth state test
100%
100%
Logout logoutParams test
90%
100%
AuthService import from SDK
100%
100%
isLoading$ not tested directly
0%
100%
No real Auth0 credentials in tests
100%
100%
bdf0dc2
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.