Fix IndieAuth endpoint requiring incorrectly defined query param (#4183)

* fix(api): remove incorrectly required query param. Fixes #4163

* Commit updated API documentation

---------

Co-authored-by: Owncast <owncast@owncast.online>
This commit is contained in:
Gabe Kangas
2025-01-29 20:23:41 -08:00
committed by GitHub
parent 64df14c1df
commit 8913779f81
6 changed files with 348 additions and 600 deletions

View File

@@ -3310,7 +3310,6 @@ paths:
tags: ['Internal', 'Auth', 'Chat']
parameters:
- $ref: '#/components/parameters/IndieAuthState'
- $ref: '#/components/parameters/IndieAuthCode'
responses:
'307':
description: Redirected to home page
@@ -3328,7 +3327,6 @@ paths:
- $ref: '#/components/parameters/IndieAuthRedirectURI'
- $ref: '#/components/parameters/IndieAuthCodeChallenge'
- $ref: '#/components/parameters/IndieAuthState'
- $ref: '#/components/parameters/IndieAuthCode'
responses:
'200':
description: IndieAuth flow concluded
@@ -4430,12 +4428,6 @@ components:
schema:
type: string
required: true
IndieAuthCode:
in: query
name: code
schema:
type: string
required: true
IndieAuthMe:
in: query
name: me