---
id: object/page/1140
type: object
title: Page 1140 "OAuth 2.0 Setup"
summary: Page 1140 "OAuth 2.0 Setup" in Base Application (System.Security.Authentication). Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 7d799e503a6af276c9e8badf6f03bc1d2e36e043d178b8548bf66e747bc1f141
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/OAuth/OAuth20Setup.Page.al
    title: src/Layers/W1/BaseApp/System/OAuth/OAuth20Setup.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 1140
name: OAuth 2.0 Setup
namespace: System.Security.Authentication
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 1
  events: 0
  subscribers: 0
  controls: 8
  actions: 4
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 1
  called_by: 0
  implements: 0
---

# Page 1140 "OAuth 2.0 Setup"

> Page 1140 "OAuth 2.0 Setup" in Base Application (System.Security.Authentication). Present since at least BC23, still in BC30.

Base Application · System.Security.Authentication · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/OAuth/OAuth20Setup.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | OAuth 2.0 Setup |
| SourceTable | OAuth 2.0 Setup |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Description | [Description](../table/1140.md#fields) | Specifies the description. |
|  | Service URL | [Service URL](../table/1140.md#fields) | Specifies the service URL. |
|  | Redirect URL | [Redirect URL](../table/1140.md#fields) | Specifies the redirect URL. |
|  | Scope | [Scope](../table/1140.md#fields) | Specifies the scope. |
| Request URL Paths | Authorization URL Path | [Authorization URL Path](../table/1140.md#fields) | Specifies the authorization URL path. |
|  | Access Token URL Path | [Access Token URL Path](../table/1140.md#fields) | Specifies the access token URL path. |
|  | Refresh Token URL Path | [Refresh Token URL Path](../table/1140.md#fields) | Specifies the refresh token URL path. |
| Request Authorization Code | Enter Authorization Code | `ReceivedAuthorizationCode` | Specifies the received authorization code from the request authorization action. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Request Authorization Code | Open the service authorization web page. Login credentials will be prompted. The authorization code must be copied into the Enter Authorization Code field. |  |
|  | Refresh Access Token | Refresh the access and refresh tokens. |  |
| Navigation | Encryption Management | Enable or disable data encryption. Data encryption helps make sure that unauthorized users cannot read business data. | [Page 9905 "Data Encryption Management"](../page/9905.md) |
|  | Http Log | See the http request/response history log entries for the current OAuth endpoint setup. |  |

## Trigger event subscribers

- OnAfterGetCurrRecordEvent: [Codeunit 1140 "OAuth 2.0 Mgt."](../codeunit/1140.md) OnAfterGetCurrRecordPageEvent

## Procedures

1 local procedures, no public ones.

## Triggers

OnOpenPage

## Relations

- source table [Table 1140 "OAuth 2.0 Setup"](../table/1140.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 457 "Environment Information"](../codeunit/457.md) (1 call: `OnOpenPage → IsSaaS`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "OAuth 2.0 Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
