refactor: docubook@latest template nextjs-docker
This commit is contained in:
@@ -23,8 +23,8 @@ The flow involves three parties:
|
||||
2. **Vendor Portal**: The WooNooW dashboard where the user manages licenses
|
||||
3. **Vendor API**: The backend handling the activation logic
|
||||
|
||||
<Stepper>
|
||||
<StepperItem title="Step 1: Client Requests Activation">
|
||||
<Steps>
|
||||
<Step title="Step 1: Client Requests Activation">
|
||||
The client sends a request to the activation API with `activation_mode: "oauth"`.
|
||||
|
||||
```bash
|
||||
@@ -35,9 +35,9 @@ The flow involves three parties:
|
||||
"activation_mode": "oauth"
|
||||
}
|
||||
```
|
||||
</StepperItem>
|
||||
</Step>
|
||||
|
||||
<StepperItem title="Step 2: API Request Authorization">
|
||||
<Step title="Step 2: API Request Authorization">
|
||||
The API responds with `oauth_required: true` and a redirect URL.
|
||||
|
||||
```json
|
||||
@@ -47,9 +47,9 @@ The flow involves three parties:
|
||||
"state": "abc12345"
|
||||
}
|
||||
```
|
||||
</StepperItem>
|
||||
</Step>
|
||||
|
||||
<StepperItem title="Step 3: User Authorizes Request">
|
||||
<Step title="Step 3: User Authorizes Request">
|
||||
The client redirects the user to the `oauth_redirect` URL. The user logs in and sees a confirmation screen:
|
||||
|
||||
> **Authorize this Request?**
|
||||
@@ -57,9 +57,9 @@ The flow involves three parties:
|
||||
> License: XXXX-YYYY-ZZZZ-WWWW
|
||||
|
||||
Once confirmed, the vendor generates a temporary **activation token**.
|
||||
</StepperItem>
|
||||
</Step>
|
||||
|
||||
<StepperItem title="Step 4: Token Exchange">
|
||||
<Step title="Step 4: Token Exchange">
|
||||
The user is redirected back to the client site with the token. The client exchanges this token for the final activation.
|
||||
|
||||
```bash
|
||||
@@ -68,8 +68,8 @@ The flow involves three parties:
|
||||
"activation_token": "temporary-token-123"
|
||||
}
|
||||
```
|
||||
</StepperItem>
|
||||
</Stepper>
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user