mirror of
https://codeberg.org/readeck/readeck.git
synced 2025-12-22 13:17:10 +00:00
Minor updates on the OAuth API documentation
This commit is contained in:
@@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
# Authentication with OAuth
|
||||
|
||||
If you're writing an application that requires a user to grant the application permission to access their Readeck instance, you should not ask a user to create an API Token but instead, implement the necessary OAuth flow so your application can retrieve a token in a user friendly way.
|
||||
If you're writing an application that requires a user to grant the application permission to access their Readeck instance, you should not ask a user to create an API Token but instead, implement the necessary OAuth flow so that your application can retrieve a token in a user friendly way.
|
||||
|
||||
## Available Scopes
|
||||
|
||||
|
||||
@@ -114,6 +114,8 @@ routes:
|
||||
/oauth/revoke:
|
||||
post:
|
||||
tags: [oauth]
|
||||
$merge:
|
||||
- "traits.yaml#.authenticated"
|
||||
|
||||
summary: Revoke Token
|
||||
description: |
|
||||
|
||||
Reference in New Issue
Block a user