tokenx-auth

Official

Secure service-to-service auth with TokenX.

Authornavikt
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TokenX-based service-to-service authentication eliminates the need to manage long-lived credentials by enabling a token exchange pattern to obtain downstream tokens for inter-service calls in a NAIS environment.

Core Features & Use Cases

  • Token exchange with client assertions and optional caching to improve performance and resilience.
  • Downstream service calls secured with exchanged tokens and inbound TokenX token validation on protected endpoints.
  • Ktor integration patterns and testing guidance, including MockOAuth2Server support, for end-to-end validation.

Quick Start

Configure the NAIS manifest to enable TokenX, generate a private JWK, and deploy a sample service that uses TokenX to request a downstream token before calling another service.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tokenx-auth
Download link: https://github.com/navikt/watson-sak-frontend/archive/main.zip#tokenx-auth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.