Home / Companies / Neo4j / Blog / Post Details
Content Deep Dive

How to Create and Integrate an Okta OIDC Service Account with Neo4j

Blog post from Neo4j

Post Details
Company
Date Published
Author
Klaus Mueller
Word Count
1,200
Language
English
Hacker News Points
-
Summary

This guide provides a detailed walkthrough on creating and integrating an Okta OIDC service account with Neo4j, emphasizing the benefits of using service accounts for secure, non-human identity management. By leveraging Okta as an identity provider and using OAuth 2.0 Client Credentials, users can avoid storing long-lived Neo4j credentials, instead opting for short-lived access tokens that improve secret management and allow fine-grained control over access. The guide covers essential steps such as creating a service application in Okta, configuring API scopes and claims, setting up Single Sign-On (SSO) in Neo4j, and authenticating with a JWT via the Python driver. The integration ensures that Neo4j trusts and validates tokens issued by Okta and maps claims to appropriate roles, enhancing security and auditability for automated workloads.