dictionary · OAuth Access Token

What Is an OAuth Access Token? Expiration, Scopes, and Refresh Tokens

Learn what OAuth access tokens do, how expiration differs from scopes, what refresh tokens are for, and how to troubleshoot expired or invalid credentials.

Published: October 29, 2026 · OGINAU Editorial

An OAuth access token is a credential an application presents when accessing a protected API within the permissions it has been granted.

An AI application may ask you to reconnect to a document or calendar service after it worked earlier. Understanding access tokens helps explain why that happens.

Conclusion first

An OAuth access token is a credential that an application presents to a protected API when requesting access within its granted permissions. It is not the user’s password. Its use may be restricted by the target API, permissions, expiration, and other controls.

See What Is OAuth? for the broader authorization framework.

Definition

An OAuth 2.0 access token is a credential an application presents to access an external service’s protected data or features with authorization.

The framework is described in RFC 6749, the official OAuth 2.0 technical specification. RFCs are documents that describe internet technologies and specifications. Section 1.4 explains that an access token can represent the scope and duration of authorized access.

Token formats vary by service. Some use JWTs (JSON Web Tokens), a structured token format; others issue opaque strings whose meaning cannot be read directly by the application.

How it works

Imagine asking an AI app to read and summarize your meeting notes.

  1. You authorize the application’s requested access through the external service.
  2. The application obtains an access token through an appropriate OAuth authorization flow.
  3. The application presents the token to the document service’s API.
  4. The API evaluates validity, granted access, and the user’s permissions on the requested document before allowing the operation.

Asking an AI app to perform an action does not, by itself, authorize that action.

Expiration and scope are different

  • Expiration: How long a token remains usable. It may also be revoked before its expiration.
  • Scope: Which categories of access were authorized. The service defines the meaning of each scope.
  • Resource permissions: Which specific documents or files can actually be accessed. Scope alone does not decide this.

See What Is OAuth Scope? for details.

Access Token versus Refresh Token

AspectAccess TokenRefresh Token
Main purposeAccess a protected APIObtain a new access token
Typical destinationResource server (API)Authorization server’s token endpoint
IssuanceDepends on the authorization flowNot always issued
Main risksDisclosure, expiry, revocationDisclosure, revocation, secure storage

When an access token expires, a refresh token may allow an application to obtain a new one. Some services do not issue refresh tokens. Refresh tokens can also expire or be revoked, requiring renewed authorization. Automatic renewal is not guaranteed for every OAuth connection.

Commonly confused concepts

Password versus access token

Passwords are typically secrets used for user authentication. Access tokens are credentials used for authorized API access. Both require protection from disclosure.

API Token versus OAuth access token

API Token is a general service-specific term. It does not always mean an OAuth access token. Consult the service’s documentation for issuance, permissions, and revocation.

ID Token versus access token

In OpenID Connect, an ID Token communicates user authentication information to the client. It is not a general substitute for an access token when calling APIs.

JWT versus access token

JWT is one token format. An access token may be a JWT or an opaque string. A token’s shape alone does not establish that it grants the correct permissions.

Protecting Bearer Tokens

A bearer token can be used by whoever possesses it to request access to associated resources. Do not expose access tokens in public articles, screenshots, or shared logs.

How this relates to OGINAU

Keeping a connection usable over time

With AI integrations such as OGINAU Remote and OGINAU Browser, establishing a connection is only the start. Maintaining a usable connection matters too.

A network disconnection and expired authorization are different failures. Restoring connectivity does not make an expired or revoked access token valid again. Conversely, a valid token is of little help if a PC or browser cannot be reached.

When an integration stops working, check network connectivity separately from token validity, renewal, and reauthorization. This is an application of OAuth principles to operational troubleshooting, not a claim about OGINAU’s internal token renewal implementation.

When a connection stops working

  • Expired or revoked token: Check whether standard renewal or reauthorization is needed.
  • Insufficient permissions: Compare required and granted scopes; do not expand access indiscriminately.
  • Resource restrictions: Check document, organization, and service-side permissions.
  • Error type: Distinguish invalid_token from insufficient_scope. HTTP 401 or 403 alone may not identify the root cause.

For a detailed approach, see Insufficient Scope: Causes and Troubleshooting Steps.

Sources and primary information

Summary

Access tokens are credentials for authorized API access. To use them safely, distinguish the API they are intended for, the permissions they carry, their expiration, and what happens when they expire or are revoked.