Skip to content

Libraries & SDKs

EntryBit is a standard OAuth 2.0 / OpenID Connect provider with an OpenAPI-described REST API — so you can use a well-tested OAuth library on any platform today and generate a fully-typed API client from the spec.

Updated

EntryBit is built on open standards — OAuth 2.0, OpenID Connect, and an OpenAPI 3.1-described REST API. There is nothing EntryBit-specific to learn: use a well-tested OAuth library for sign-in, and generate a typed client for the API from the spec.

Sign-in libraries, by platform

For “Sign in with EntryBit” (the OAuth flow), use the standard authorization-code + PKCE client for your platform. Point it at the discovery document and it configures itself.

PlatformRecommended libraryGuide
React Native (Expo)expo-auth-sessionQuickstart
Web (SPA / SSR)oidc-client-ts, or your framework’s OAuth/OIDC pluginOAuth overview
iOS (Swift)AppAuth-iOSOAuth overview
Android (Kotlin)AppAuth-AndroidOAuth overview
Backend (any language)any OAuth 2.0 client — or use an API key for server-to-serverAuthentication

Whatever you pick, the rules are the same: PKCE (S256) is required, tokens go in Authorization: Bearer …, and refresh tokens rotate — always persist the newest one.

Generate a typed API client from OpenAPI

The OpenAPI spec at https://entrybit.net/openapi.json generates a fully-typed client for the REST API in any language — no hand-written request code.

LanguageGenerator
Pythonopenapi-python-client or openapi-generator (-g python)
TypeScript / JavaScriptopenapi-typescript (types) or openapi-generator (-g typescript-fetch)
Gooapi-codegen
Swift / Kotlin / Ruby / …​openapi-generator (-g swift5 / -g kotlin / …)
# TypeScript types
npx openapi-typescript https://entrybit.net/openapi.json -o entrybit.d.ts

# Python client
pip install openapi-python-client
openapi-python-client generate --url https://entrybit.net/openapi.json

# Any language, via the OpenAPI Generator
npx @openapitools/openapi-generator-cli generate \
  -i https://entrybit.net/openapi.json -g python -o ./entrybit-python

Official SDKs

PlatformSDK
Node.js / TypeScript@entrybit/sdkGitHub · npm

npm install @entrybit/sdk gets you the whole API — passes, members, facilities and the OAuth lifecycle — fully typed with retries, timeouts and typed errors built in. See the SDK page for the quickstart. SDKs for more platforms will be listed here as they ship; meanwhile the OpenAPI spec plus the libraries above give you a typed client everywhere.

Prefer to explore first?

Import the API straight into Postman or Insomnia to try every endpoint interactively before you write any code.