---
title: "Process an Oauth2 redirect request from an access request for an app installation, storing the accessToken and refreshToken as secrets for the app"
method: GET
path: "/oauth/app/{appName}"
tags: ["oauth"]
---

# Process an Oauth2 redirect request from an access request for an app installation, storing the accessToken and refreshToken as secrets for the app

`GET /oauth/app/{appName}`

## Path parameters

- `appName` string, required

## Query parameters

- `state` string
- `code` string, required

## Cookies

- `token` string

## Other responses

- `400` — bad request
- `404` — not found

---

[API](https://skmtc.net/charthop/apis/charthop-api.md) · [All operations](https://skmtc.net/charthop/apis/charthop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/charthop/charthop-api/versions/50a1edd6b27e/schema)
