Skip to content

Commit

Permalink
Bulletproof login, authorization and session management
Browse files Browse the repository at this point in the history
  • Loading branch information
podlomar committed Feb 8, 2024
1 parent b20f31a commit fdb0f61
Show file tree
Hide file tree
Showing 83 changed files with 9,268 additions and 479 deletions.
4 changes: 2 additions & 2 deletions docker/compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
- 8055:8055
volumes:
- ./data/uploads:/directus/uploads
# - ./data/extensions:/directus/extensions
- ./data/extensions:/directus/extensions
networks:
- directus
depends_on:
Expand Down Expand Up @@ -64,7 +64,7 @@ services:
AUTH_GITHUB_IDENTIFIER_KEY: 'login'
AUTH_GITHUB_FIRST_NAME_KEY: 'name'
AUTH_GITHUB_ICON: 'github'
AUTH_GITHUB_SCOPE: 'read:user'
AUTH_GITHUB_SCOPE: 'user:email'
AUTH_GITHUB_DEFAULT_ROLE_ID: '${GITHUB_DEFAULT_ROLE}'

REFRESH_TOKEN_COOKIE_SECURE: 'false'
Expand Down
3 changes: 3 additions & 0 deletions github-login/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
node_modules
dist
Loading

0 comments on commit fdb0f61

Please sign in to comment.