-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add docs for lark oauth provider
- Loading branch information
1 parent
2453627
commit 684cec0
Showing
5 changed files
with
39 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: Lark | ||
description: Add Lark OAuth provider to your application | ||
keywords: [Lark, OAuth] | ||
authors: [Chinoholo0807] | ||
--- | ||
|
||
:::note | ||
|
||
This is an example of how to configure a **Lark** OAuth provider. | ||
|
||
::: | ||
|
||
### Step1. Create a Lark app | ||
|
||
First, you need to create a new app in [Lark Open Platform](https://open.feishu.cn/) and enable it. | ||
You can find the `App ID` and `App Secret` in the basic information of your app. | ||
|
||
![create a new app](/img/providers/OAuth/lark_create_app.png) | ||
|
||
Next, add the redirect URL `<your-casdoor-domain>/callback` (e.g., `http://localhost:7001/callback`) in the security settings of your app. | ||
|
||
![add redirect url](/img/providers/OAuth/lark_redirect_url.png) | ||
|
||
### Step2. Create a Lark OAuth provider | ||
|
||
Now create a Lark OAuth provider in Casdoor. Fill the necessary information. | ||
|
||
| Name | Name in Lark | | ||
| ---- | ---- | | ||
|Category | choose `OAuth` | | ||
|Type | choose `Lark` | | ||
|Client ID | `App ID` obtained from Step1 | | ||
|Client secret | `App Secret` obtained from Step1 | | ||
|
||
![create a lark oauth provider](/img/providers/OAuth/lark_provider_conf_detail.png) | ||
|
||
Now you can use Lark as the third party service to complete authentication. |
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.
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.