Skip to content

Commit

Permalink
docker image workflow + access token type
Browse files Browse the repository at this point in the history
  • Loading branch information
wprzyb authored Nov 22, 2023
1 parent 2dc266f commit 985e5a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Create and publish Docker images

on:
release:
types: [published]
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
REGISTRY: ghcr.io
Expand Down
1 change: 1 addition & 0 deletions auth/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class HSWawOAuth2(BaseOAuth2):
ID_KEY = 'username'
AUTHORIZATION_URL = 'https://auth.apps.hskrk.pl/application/o/authorize/'
ACCESS_TOKEN_URL = 'http://authentik:9000/application/o/token/'
ACCESS_TOKEN_METHOD = 'GET'
DEFAULT_SCOPE = ['profile:read']
REDIRECT_STATE = False
SCOPE_SEPARATOR = ','
Expand Down

0 comments on commit 985e5a8

Please sign in to comment.