-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝 (website) Improve documentation website with generic info
Screenshots for the api_clients administration. Fix some UI/UX on the administration screen
- Loading branch information
Hadrien Froger
committed
Nov 19, 2024
1 parent
a64c955
commit c52553c
Showing
24 changed files
with
189 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
sidebar_position: 1 | ||
title: Administration | ||
--- | ||
|
||
# Administrate your API Client credentials | ||
Administrate your credentials in the `/system` administration panel. You will be able there to | ||
- Create new credentials | ||
- Edit credentials permissions | ||
- Revoke credentials | ||
|
||
## Create new credentials | ||
|
||
To create new credentials, goes on the `Api Clients` menu. | ||
|
||
![System Administration Dashboard of Decidim](./client-api-admin/2024-11-19_11-38.png) | ||
|
||
|
||
You can then create a new credential clicking on `New Api Client` | ||
|
||
![client Credential admin on Decidim](./client-api-admin/2024-11-19_11-40.png) | ||
|
||
Now, define a name for credentials, to easily locate it later. Select an organization, to bind the credentials to one of the Decidim Organization (multi-tenant). | ||
|
||
Finaly, define **scopes** to give the credential access to some part of your Decidim Data. | ||
|
||
![client Credential admin on Decidim](./client-api-admin/2024-11-19_11-42.png) | ||
|
||
|
||
Once created, you lend on the edition screen of the credentials. | ||
|
||
## Edit a credential | ||
You can define fine-grained permissions on the created credentials. | ||
In this screen, you can also use the `client_id` and `client_secret` used to authenticate you. | ||
|
||
|
||
|
||
![client Credential edition admin on Decidim](./client-api-admin/2024-11-19_11-45.png) | ||
:::info | ||
Fine-grained permissions are editable after the credential creation, | ||
**scopes** are not. If you need to add a new scope, you need to revoke the credentials, and create a new one. | ||
::: | ||
|
||
## Revoke a credential | ||
At anytime, you can revoke a credentials. This will permantly and immediatly remove access of this client. | ||
Generated token by this credentials won't be valid anymore, even they are still before date of expiration. | ||
|
||
![Revoke client credential](./client-api-admin/2024-11-19_11-46.png) | ||
|
||
![Revoke client credential](./client-api-admin/2024-11-19_11-47.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.8 KB
website/docs/user_documentation/client-api-admin/2024-11-19_11-40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+53.4 KB
website/docs/user_documentation/client-api-admin/2024-11-19_11-45.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38.7 KB
website/docs/user_documentation/client-api-admin/2024-11-19_11-46.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.4 KB
website/docs/user_documentation/client-api-admin/2024-11-19_11-47.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
} | ||
|
||
img{ | ||
max-width:520px; | ||
max-width:720px; | ||
} | ||
.full > p > img { | ||
max-width: 100%;; | ||
|