# 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.

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](/docs/api-reference/openapi/).

## Sign-in libraries, by platform

For "Sign in with EntryBit" (the [OAuth flow](/docs/oauth/overview/)), use the standard authorization-code + PKCE client for your platform. Point it at the [discovery document](/docs/oauth/discovery-jwks/) and it configures itself.

| Platform | Recommended library | Guide |
| --- | --- | --- |
| React Native (Expo) | `expo-auth-session` | [Quickstart](/docs/get-started/quickstart-react-native/) |
| Web (SPA / SSR) | `oidc-client-ts`, or your framework's OAuth/OIDC plugin | [OAuth overview](/docs/oauth/overview/) |
| iOS (Swift) | AppAuth-iOS | [OAuth overview](/docs/oauth/overview/) |
| Android (Kotlin) | AppAuth-Android | [OAuth overview](/docs/oauth/overview/) |
| Backend (any language) | any OAuth 2.0 client — or use an [API key](/docs/api-keys/overview/) for server-to-server | [Authentication](/docs/get-started/authentication/) |

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](/docs/api-reference/openapi/) at `https://entrybit.net/openapi.json` generates a fully-typed client for the REST API in any language — no hand-written request code.

| Language | Generator |
| --- | --- |
| Python | [`openapi-python-client`](https://github.com/openapi-generators/openapi-python-client) or `openapi-generator` (`-g python`) |
| TypeScript / JavaScript | [`openapi-typescript`](https://github.com/openapi-ts/openapi-typescript) (types) or `openapi-generator` (`-g typescript-fetch`) |
| Go | [`oapi-codegen`](https://github.com/oapi-codegen/oapi-codegen) |
| Swift / Kotlin / Ruby / …​ | [`openapi-generator`](https://openapi-generator.tech/) (`-g swift5` / `-g kotlin` / …) |

```bash
# 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

First-party EntryBit SDKs are on the roadmap. Until they ship, the OpenAPI spec plus the libraries above give you a typed, well-supported client on every platform — and this page will list official SDKs here as they land.

## Prefer to explore first?

Import the API straight into [Postman or Insomnia](/docs/resources/postman/) to try every endpoint interactively before you write any code.