This post is part of OAuth Config Setup in Different Apps.
Gitignore Config for Certificates
jwt oauth2 typescript nextjs oidc passwordless-authentication
# config specific to the language or editor you use
# Ignore certificate and key files
*.key
*.crt
*.csr
*.pem
*.p12
*.der
*.srl
# Ignore any directory containing certs or keys
certs/
keys/
secrets/