---
title: "Userportal Oauth Complete"
method: GET
path: "/userportal/auth/complete"
tags: ["userportal-public"]
---

# Userportal Oauth Complete

`GET /userportal/auth/complete`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/userportal/auth/complete`
- Auth: none declared

Finish portal OAuth on the return host.

Google/Microsoft redirect to app.feedback1.ai. That callback 302s here on the
original portal host (custom domain or *.feedback1.ai) so Set-Cookie is
host-only and readable by that host. Then we 302 to the page the user started
from, still including session_token for JS / widget postMessage.

## Query parameters

- `code` string, required: One-time handoff code from the OAuth callback

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/feedback1/apis/feedback1-public-api.md) · [All operations](https://skmtc.dev/feedback1/apis/feedback1-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/feedback1/apis/feedback1-public-api/revisions/e7626420f622?raw)
