You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,31 @@
1
-
# Backstage - Stack Overflow for Teams Plugin
1
+
# Backstage - Stack Internal Plugin
2
2
3
3
## Overview
4
4
5
-
The **Stack Overflow for Teams** plugins for **Backstage** integrate your private knowledge solution with your Backstage instance. These plugins provide seamless access to **Stack Overflow Teams'** most relevant data, allowing you to display the top users, top tags, and top questions directly within Backstage. Additionally, it indexes all the questions from a Stack Overflow instance and integrates them into Backstage search, providing enhanced discoverability.
5
+
The **Stack Internal** plugins for **Backstage** integrate your private knowledge solution with your Backstage instance. These plugins provide seamless access to **Stack Internal'** most relevant data, allowing you to display the top users, top tags, and top questions directly within Backstage. Additionally, it indexes all the questions from a Stack Internal instance and integrates them into Backstage search, providing enhanced discoverability.
6
6
7
-
These plugins also allow you to securely create **Stack Overflow for Teams** questions from Backstage itself.
7
+
These plugins also allow you to securely create **Stack Internal** questions from Backstage itself.
8
8
9
9
## Key Features
10
10
11
11
### OAuth Authentication
12
12
13
-
The plugin uses OAuth authentication to ensure that only authorised users can post questions to your Stack Overflow instance from Backstage. The OAuth process is secure, user-friendly, and integrates seamlessly with Backstage, providing a safe way to verify user identities before allowing access to question creation features.
13
+
The plugin uses OAuth authentication to ensure that only authorised users can post questions to your Stack Internal instance from Backstage. The OAuth process is secure, user-friendly, and integrates seamlessly with Backstage, providing a safe way to verify user identities before allowing access to question creation features.
14
14
15
15
### Top Users and Tags
16
-
Displays the top users and tags from your Stack Overflow instance, giving you insights into the most active contributors and trending topics.
16
+
Displays the top users and tags from your Stack Internal instance, giving you insights into the most active contributors and trending topics.
<imgwidth="449"height="316"alt="Screenshot 2025-08-05 at 23 14 15"src="https://github.com/user-attachments/assets/64fbb6bf-b1fd-422b-8be6-7b5b1a2d5483" />
20
20
21
21
22
22
### Question Indexing
23
-
Retrieves all the questions from your Stack Overflow instance and indexes them into Backstage search. This makes it easier to search and discover questions across your organisation.
23
+
Retrieves all the questions from your Stack Overflow Internal instance and indexes them into Backstage search. This makes it easier to search and discover questions across your organisation.
24
24
25
25

26
26
27
-
### Stack Overflow Hub
28
-
A centralised hub within Backstage that showcases the top questions. The hub also allows you to filter questions like you would on Stack Overflow.
27
+
### Stack Overflow Internal Hub
28
+
A centralised hub within Backstage that showcases the top questions. The hub also allows you to filter questions like you would on Stack Overflow Internal.
This image runs a Backstage instance pre-configured with the Stack Overflow for Teams plugin. You just need to pass a few environment variables when starting the container to connect it to your Stack Overflow for Teams instance.
45
+
This image runs a Backstage instance pre-configured with the Stack Internal plugin. You just need to pass a few environment variables when starting the container to connect it to your Stack Internal instance.
46
46
47
47
---
48
48
@@ -52,26 +52,26 @@ This image runs a Backstage instance pre-configured with the Stack Overflow for
|`STACK_OVERFLOW_INSTANCE_URL`| The base URL of your Stack Overflow for Teams (Enterprise) instance. |
56
-
|`STACK_OVERFLOW_API_ACCESS_TOKEN`| A **read-only, no-expiry** API access token generated for your Stack Overflow Enterprise instance. This token is used by the plugin’s search collator to index questions into Backstage search. |
57
-
|`STACK_OVERFLOW_CLIENT_ID`| The OAuth Client ID from your Stack Overflow application. This is required to enable the secure question creation flow from within Backstage. |
58
-
|`STACK_OVERFLOW_REDIRECT_URI`| The redirect URI where Stack Overflow should send users after completing the OAuth authentication flow. By default, this is `{app.baseUrl}/stack-overflow-teams`. For local development, you can use a redirect service like `http://redirectmeto.com/http://localhost:7007/stack-overflow-teams`. |
55
+
|`STACK_OVERFLOW_INSTANCE_URL`| The base URL of your Stack Internal (Enterprise) instance. |
56
+
|`STACK_OVERFLOW_API_ACCESS_TOKEN`| A **read-only, no-expiry** API access token generated for your Stack Internal Enterprise instance. This token is used by the plugin’s search collator to index questions into Backstage search. |
57
+
|`STACK_OVERFLOW_CLIENT_ID`| The OAuth Client ID from your Stack Overflow Internal application. This is required to enable the secure question creation flow from within Backstage. |
58
+
|`STACK_OVERFLOW_REDIRECT_URI`| The redirect URI where Stack Overflow Internal should send users after completing the OAuth authentication flow. By default, this is `{app.baseUrl}/stack-overflow-teams`. For local development, you can use a redirect service like `http://redirectmeto.com/http://localhost:7007/stack-overflow-teams`. |
|`STACK_OVERFLOW_TEAM_NAME`| The **team name** or **team slug** from your Stack Overflow for Teams account. |
67
-
|`STACK_OVERFLOW_API_ACCESS_TOKEN`| A **read-only, no-expiry** API access token generated for your Stack Overflow Teams instance. Used for indexing content. |
66
+
|`STACK_OVERFLOW_TEAM_NAME`| The **team name** or **team slug** from your Stack Internal account. |
67
+
|`STACK_OVERFLOW_API_ACCESS_TOKEN`| A **read-only, no-expiry** API access token generated for your Stack Internal instance. Used for indexing content. |
68
68
69
69
> **Note:**
70
70
> Question creation is **not supported** on the **Basic** tier.
71
71
72
72
📖 How to generate your API Access Token
73
73
74
-
Basic and Business customers can follow the official Stack Overflow for Teams guide to create a Personal Access Token (PAT) for API authentication:
74
+
Basic and Business customers can follow the official Stack Internal guide to create a Personal Access Token (PAT) for API authentication:
75
75
76
76
👉 [Personal Access Tokens (PATs) for API Authentication](https://stackoverflowteams.help/en/articles/10908790-personal-access-tokens-pats-for-api-authentication)
Copy file name to clipboardExpand all lines: plugins/README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
2
2
3
3
4
-
# Stack Overflow for Teams Plugins for Backstage
4
+
# Stack Internal Plugins for Backstage
5
5
6
6
7
7
8
-
Based on the existing [**Community Plugins**](https://github.com/backstage/community-plugins/tree/main/workspaces/stack-overflow/plugins) for Stack Overflow, this version introduces two new plugins:
8
+
Based on the existing [**Community Plugins**](https://github.com/backstage/community-plugins/tree/main/workspaces/stack-overflow/plugins) for Stack Overflow Internal, this version introduces two new plugins:
9
9
10
-
- A **frontend plugin** responsible for displaying Stack Overflow for Teams data.
10
+
- A **frontend plugin** responsible for displaying Stack Internal data.
11
11
12
-
- A **backend plugin** responsible for fetching and creating Stack Overflow for Teams data.
12
+
- A **backend plugin** responsible for fetching and creating Stack Internal data.
13
13
14
14
15
15
@@ -35,7 +35,7 @@ Displays information about the authenticated user.
35
35
36
36
-**`<StackOverflowPostQuestionModal />`**
37
37
38
-
Provides a form for users to create a new Stack Overflow question. Once submitted, an API request is executed to create the question.
38
+
Provides a form for users to create a new Stack Overflow Internal question. Once submitted, an API request is executed to create the question.
39
39
40
40
41
41
@@ -71,7 +71,7 @@ Initiates **`/auth/start`** on the backend.
71
71
72
72
-**`<StackAuthCallback />`**
73
73
74
-
Receives the code and state from your Stack Overflow Enterprise instance as part of the OAuth process and initiates **`/callback`** in the backend.
74
+
Receives the code and state from your Stack Internal Enterprise instance as part of the OAuth process and initiates **`/callback`** in the backend.
75
75
76
76
77
77
@@ -107,9 +107,9 @@ The **Backstage backend plugin** (the **Teams plugin**) is responsible for:
107
107
108
108
109
109
110
-
-**Indexing all questions** from the private Stack Overflow instance (an enhanced version of the existing community plugins in the Backstage repository).
110
+
-**Indexing all questions** from the private Stack Overflow Internal instance (an enhanced version of the existing community plugins in the Backstage repository).
111
111
112
-
-**Handling API requests** via ``createStackOverflowApi`` and ``createStackOverflowService`` to the Stack Overflow instance for retrieving:
112
+
-**Handling API requests** via ``createStackOverflowApi`` and ``createStackOverflowService`` to the Stack Overflow Internal instance for retrieving:
113
113
114
114
-`/users`
115
115
@@ -119,15 +119,15 @@ The **Backstage backend plugin** (the **Teams plugin**) is responsible for:
119
119
120
120
- Posting new questions via `/questions`
121
121
122
-
-**Managing OAuth authentication flow** to securely access Stack Overflow. via ``createStackOverflowAuth``
122
+
-**Managing OAuth authentication flow** to securely access Stack Overflow Internal. via ``createStackOverflowAuth``
123
123
124
124
125
125
126
126
## OAuth Authentication Flow
127
127
128
128
129
129
130
-
The backend is the only component that directly utilizes **Stack Overflow access tokens** for requests.
130
+
The backend is the only component that directly utilizes **Stack Overflow Internal access tokens** for requests.
131
131
132
132
133
133
@@ -151,8 +151,8 @@ The backend is the only component that directly utilizes **Stack Overflow access
151
151
152
152
- Retrieves the stored **Code Verifier** and **State**.
153
153
154
-
- Validates that the received **state** matches the one from Stack Overflow's query string parameter.
154
+
- Validates that the received **state** matches the one from Stack Overflow Internal's query string parameter.
155
155
156
156
- The backend requests an **Access Token** using the stored **Code Verifier**.
157
157
158
-
- Stores the **Stack Overflow Access Token** in a **secure, HTTP-only cookie**.
158
+
- Stores the **Stack Overflow Internal Access Token** in a **secure, HTTP-only cookie**.
Copy file name to clipboardExpand all lines: plugins/search-backend-module-stack-overflow-teams-collator/README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
-
# Stack Overflow for Teams Search Backend Module
2
+
# Stack Internal Search Backend Module
3
3
4
-
This module for the search plugin is an enhanced version of the original [Stack Overflow collator](https://github.com/backstage/backstage/tree/master/plugins/search-backend-module-stack-overflow-collator). It provides additional information while coded to work specifically with Stack Overflow for Teams API Version 3.
4
+
This module for the search plugin is an enhanced version of the original [Stack Overflow Internal collator](https://github.com/backstage/backstage/tree/master/plugins/search-backend-module-stack-overflow-collator). It provides additional information while coded to work specifically with Stack Internal API Version 3.
5
5
6
6
## Getting started
7
7
@@ -13,24 +13,24 @@ To use any of the functionality this plugin provides, you need to start by confi
13
13
14
14
```yaml
15
15
stackoverflow:
16
-
baseUrl: https://api.stackoverflowteams.com # alternative: your Stack Overflow Enterprise site
16
+
baseUrl: https://api.stackoverflowteams.com # alternative: your Stack Internal Enterprise site
17
17
teamName: $STACK_OVERFLOW_TEAM_NAME # optional if you are on Enterprise
18
18
apiAccessToken: $STACK_OVERFLOW_API_ACCESS_TOKEN
19
19
```
20
20
21
-
### Stack Overflow for Teams
21
+
### Stack Internal
22
22
23
-
If you have a private Stack Overflow instance and/or a private Stack Overflow Team you will need to supply a Personal Access Token. You can read more about how to set this up by going to [Stack Overflow's Help Page](https://stackoverflowteams.help/en/articles/7913768-stack-overflow-for-teams-api-v3).
23
+
If you have a private Stack Overflow Internal instance and/or a private Stack Overflow Internal Team you will need to supply a Personal Access Token. You can read more about how to set this up by going to [Stack Overflow Internal's Help Page](https://stackoverflowteams.help/en/articles/7913768-stack-overflow-for-teams-api-v3).
24
24
25
25
## Areas of Responsibility
26
26
27
-
This stack overflow backend plugin is primarily responsible for the following:
27
+
This Stack Overflow Internal backend plugin is primarily responsible for the following:
28
28
29
-
- Provides a `StackOverflowQuestionsCollatorFactory`, which can be used in the search backend to index stack overflow questions to your Backstage Search.
29
+
- Provides a `StackOverflowQuestionsCollatorFactory`, which can be used in the search backend to index Stack Overflow Internal questions to your Backstage Search.
30
30
31
-
### Index Stack Overflow Questions to search
31
+
### Index Stack Overflow Internal Questions to search
32
32
33
-
Before you are able to start index stack overflow questions to search, you need to go through the [search getting started guide](https://backstage.io/docs/features/search/getting-started).
33
+
Before you are able to start index Stack Overflow Internal questions to search, you need to go through the [search getting started guide](https://backstage.io/docs/features/search/getting-started).
34
34
35
35
When you have your `packages/backend/src/plugins/search.ts` file ready to make modifications, add the following code snippet to add the `StackOverflowQuestionsCollatorFactory`. Note that you can optionally modify the `requestParams`, otherwise it will defaults to `{ order: 'desc', sort: 'activity' }`.
36
36
@@ -49,7 +49,7 @@ indexBuilder.addCollator({
49
49
50
50
## New Backend System
51
51
52
-
This package exports a module that extends the search backend to also indexing the questions exposed by the [`Stack Overflow for Teams API version 3`](https://stackoverflowteams.help/en/articles/7913768-stack-overflow-for-teams-api-v3).
52
+
This package exports a module that extends the search backend to also indexing the questions exposed by the [`Stack Internal API version 3`](https://stackoverflowteams.help/en/articles/7913768-stack-overflow-for-teams-api-v3).
0 commit comments