CtrlK
BlogDocsLog inGet started
Tessl Logo

auth0-angular

Use when adding authentication to Angular applications with route guards and HTTP interceptors - integrates @auth0/auth0-angular SDK for SPAs

84

1.47x
Quality

77%

Does it follow best practices?

Impact

100%

1.47x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Optimize this skill with Tessl

npx tessl skill review --optimize ./plugins/auth0/skills/auth0-angular/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

37%

Secure Dashboard with Protected Routes

Protected routes with functional auth guard

Criteria
Without context
With context

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%

100%

38%

API Integration for a Healthcare Portal

HTTP interceptor for automatic token attachment

Criteria
Without context
With context

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%

100%

20%

Unit Tests for an Auth0-Protected Angular Component

AuthService mock for unit tests

Criteria
Without context
With context

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%

Repository
auth0/agent-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.