Skip to content

Commit d540e57

Browse files
fix: missing github authentication setup
1 parent 8e96cb7 commit d540e57

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.env.example

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
POSTGRES_HOST="127.0.0.1"
1+
POSTGRES_HOST="backstage_pg_db"
22
POSTGRES_PORT="5432"
33
POSTGRES_USER="postgres"
44
POSTGRES_PASSWORD="admin"
5+
GITHUB_CLIENT_ID="your-id"
6+
GITHUB_CLIENT_SECRET="your-secret"

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ if you use docker you need a .env file
66
cp .env.example .env
77
```
88

9+
```sh
10+
cp .example.app-config.local.yaml app-config.local.yaml
11+
```
12+
13+
IMPORTANT: to setup Github follow this guide and change the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET values in the .env
14+
15+
https://backstage.io/docs/getting-started/configuration
16+
17+
918
to run in docker (this takes up to 3-5 mins):
1019
```sh
1120
docker compose up -d --build

app-config.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ techdocs:
6666
publisher:
6767
type: 'local' # Alternatives - 'googleGcs' or 'awsS3'. Read documentation for using alternatives.
6868

69-
auth:
70-
# see https://backstage.io/docs/auth/ to learn about auth providers
71-
environment: development
72-
providers:
73-
github:
74-
development:
75-
clientId: 1ae7a4924b6017077f5c
76-
clientSecret: 93c884c465bd3e4b823e7d9149722127aec63cf9
77-
7869
scaffolder:
7970
# see https://backstage.io/docs/features/software-templates/configuration for software template options
8071

0 commit comments

Comments
 (0)