Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/receive-personal-access-tokens-from-o-auth-2.api.mdx
Superset Dev 752ebd47cb docs: cut 6.1.0 versions for docs, admin_docs, developer_docs, components
- Snapshot all four versioned docs sections at v6.1.0; master continues to
  serve as "Next" (lastVersion: current, banner: unreleased) so editing
  master keeps updating the canonical URLs
- Enable the previously-disabled components plugin and version it
- Rename stale "developer_portal" references to "developer_docs" across
  package.json scripts, manage-versions.mjs, theme files (DocVersionBadge,
  DocVersionBanner), DOCS_CLAUDE.md, and README.md (URL backward-compat
  redirect /developer_portal/* preserved)
- Add admin_docs version scripts; drop dead "tutorials" plugin id from
  the version badge
- Generalize fixVersionedImports in manage-versions.mjs to walk every
  section's snapshot and rewrite ../../src/ and ../../data/ imports,
  catching admin_docs and components files that previous version cuts
  would have broken
- Remove orphan files: developer_portal_versions.json,
  tutorials_versions.json, and stray empty versions.json files inside
  components/ and developer_docs/ content directories
2026-05-02 11:53:56 -07:00

69 lines
3.1 KiB
Plaintext

---
id: receive-personal-access-tokens-from-o-auth-2
title: "Receive personal access tokens from OAuth2"
description: "-> Receive and store personal access tokens from OAuth for user-level authorization"
sidebar_label: "Receive personal access tokens from OAuth2"
hide_title: true
hide_table_of_contents: true
api: eJzFVm1v2zYQ/iuHwz4kmBwnQQcEKjrAzdKmXdoGtYsNiIKUkc6WUopUScqNJ+i/D0dKfouzdQGGfpJI3h3vuZeH12BGNjVF5QqtMMbBr/CRUirmBEJlYJ02BBUZq5WQINKUrAWnv5CyMDW6hA+j2uUw1QZqS2YgaU4SRO1ybYq/hLcaYSWMKMmRsRhfNVjwTV9rMguMUImSMEbrhCOM0KY5lQLjBt2iCgemUDNs22i3YqqzJ+nZVFdPUiRjtPlHxesIDdlKK0uWz48PD/mTauVIOa9B926Yu1Ly4nFDbbSVnhFkdVkuwJKcDlKpbaFmcD55dwGVmBG2ET57cJeoKlmkPhXDO8tm1q+sjK7IuCJ4WpK1bGhXNPodfXtHqeO76F6UlaQNRXwpMjD0tSbrYnij5kIWGawKACqj50VG2S54a7oBy7Mfi+W9djDVtcpimOTUu0bspNW1SQkyTRaUdkD3BTv9ENPSBt/yy4/OzhvlyHArWzJzMuCLOYaRglrRfUUpo/OboNO0NmZ3ol4JJ2SQ85dbSmtTuIVv77tvDuOra24DJ2bc8vibcOJWWMLrCO8H3LJj71zgAynUjDv508cLjFCKW5KrZQg0r2sjYfAnvD6bQIK5c1U8HEqdCplr6+KTw5OToaiK4fxomHXXDTUz0fEwQUiSRAEMziHB0To7xfCShCEDP41OT8/G45vJh9/P3ieI3P6dY5cLl3se611bbiydK8pKG9dXiE1UonoKgBfL7YMZuT32A/47gijo5SQyMvZFs4UjwRgS7LAkCD93ZH3jybpN1H6iKlMot9f7dcDltre/v470rZiLsc/zGtqNzVU6tLIMeAlSfBOFgym5NPcYn4aw2YAZ92vYzhvj/dynrglYJx7q56DR8odxP09U8JVvXPq5FYVOSEs6kHq2x6L7z5FLuCSX6wxjnJHzT5nLMcbHUHCEfGeFyq4NB3BnHHC7py74GDJ+QHVVknJdj/r8BENNZbTTqZZtPBw2bKqNGy689oG109o6XfYmIpwLU4hbGYikN8P/GU1FLV3nJkZIqi65Z7slfyz37ab988nkEpZ22gjZm017S7wPnBsH8uEzflRBG3hzyUYYy6aRnaHq9L1069/bnoDGTJ0BpKehBm99jbzSphRs7+0fk/7t5ioOp7ikTw+6jVj5xtDUkM2faqSNsFBTHeBseF/zQOWryRWOGXp9i2snyM2PQkisK4V/F7oBpB/Q/nUsO94O3NrL8z9Nel0E/HxTSVEohuCLt+la5wpFVTDOI/aufxciDA2EEXKthWK6wqbh009Gti1vh0mMGysrLFdzhvFUSEsRfqHF2hQ5F7JmP3zvPCLbDY7fI9rPit8j24+HK9nrVff5dzHCwG4eSFAapSl5eu21VgPiBge9PuPC40itDQHL8ut+2Gx3JNRizWjTBInAk8wZ4XafZWyv27b9G5UyHr0=
sidebar_class_name: "get api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Receive personal access tokens from OAuth2"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/api/v1/database/oauth2/"}
context={"endpoint"}
>
</MethodEndpoint>
-&gt; Receive and store personal access tokens from OAuth for user-level authorization
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails
{...require("./receive-personal-access-tokens-from-o-auth-2.ParamsDetails.json")}
>
</ParamsDetails>
<RequestSchema
{...require("./receive-personal-access-tokens-from-o-auth-2.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./receive-personal-access-tokens-from-o-auth-2.StatusCodes.json")}
>
</StatusCodes>