navan-security-basics

Featured

Secure Navan API credentials with OAuth 2.0 best practices, SSO/SAML, and SCIM provisioning. Use when hardening a Navan integration, rotating credentials, or configuring identity provider SSO. Trigger with "navan security", "navan sso", "navan credentials", "navan scim".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Navan Security Basics ## Overview Navan holds SOC 1 Type II, SOC 2 Type II, ISO 27001, PCI DSS Level 1, GDPR, CSA, and VSA certifications. Infrastructure runs on AWS with TLS encryption in transit and AES encryption at rest via KMS. Annual penetration testing and OWASP compliance are standard. This skill covers the developer's responsibility: securing OAuth 2.0 credentials, configuring SSO through supported identity providers, setting up SCIM for automated user provisioning, and establishing rotation schedules. ## Prerequisites - Navan admin account with API credential management permissions - Access to Admin > Travel admin > Settings > Integrations for OAuth app creation - Identity provider admin access (Okta, Azure AD, or Google Workspace) for SSO/SCIM setup - Node.js 18+ or Python 3.8+ for credential management scripts ## Instructions ### Step 1: Secure OAuth 2.0 Credential Storage ```bash # Create .env file — NEVER commit this cat > .env << 'EOF' NAVAN_CLIENT_ID=your-client-id NAVAN_CLIENT_SECRET=your-client-secret NAVAN_TOKEN_URL=https://api.navan.com/ta-auth/oauth/token EOF # Ensure .env is gitignored echo '.env' >> .gitignore echo '.env.*' >> .gitignore ``` ```typescript // Load credentials from environment only — never hardcode import { config } from 'dotenv'; config(); async function getAccessToken(): Promise<string> { const { NAVAN_CLIENT_ID, NAVAN_CLIENT_SECRET, NAVAN_TOKEN_URL } = process.env; if (!NAVAN_CLIENT_ID || !NAVAN_CLIENT_SECRET) { throw...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category