Skip to content

Commit d2a0be6

Browse files
author
Adenylatcyclase
committed
update readme and example.env
1 parent 159fe27 commit d2a0be6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Run the server:
3535
- Under your GitHub account Settings go to Developer settings and OAuth Apps
3636
- Create a new one and set the homepage url to `https://localhost:5001/` and Authorization callback to `https://localhost:5001/login/github/authorized`
3737
- Copy the Client Id and Client Secret from that site and save them in `.env` as `GITHUB_ID` and `GITHUB_SECRET` respectively
38+
4. Furthermore a `JWT_SECRET_KEY` is required for signing the JWT-tokens
3839

3940
Your `.env` file should now look something like [example.env](https://github.com/ProgrammingBuddies/programmingbuddies-api/blob/develop/example.env)
4041

example.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ CONNECT=mysql+mysqlconnector://user:password@localhost:3306/meintest
22
FLASK_ENV=development
33
APP_SECRET=guest
44
GITHUB_ID=c1fed8b3f0e10e0beef
5-
GITHUB_SECRET=de79b512d6fbeefa9cdc113beef219ccc7cd98f1
5+
GITHUB_SECRET=de79b512d6fbeefa9cdc113beef219ccc7cd98f1
6+
JWT_SECRET_KEY=guest

0 commit comments

Comments
 (0)