Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added JWK Caching and Support for Laravel 11 #32

Merged
merged 33 commits into from
Jan 5, 2025
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
a7648fa
RELEASE
gaokevin1 Jul 6, 2023
8d86b29
Merge branch 'main' of github.com:descope/descope-php
gaokevin1 Jul 6, 2023
30d6711
Merge branch 'main' of github.com:descope/descope-php
gaokevin1 May 8, 2024
0b3da6d
Merge branch 'main' of github.com:descope/descope-php
gaokevin1 Jul 23, 2024
6704ea1
Merge branch 'main' of github.com:descope/descope-php
gaokevin1 Jul 25, 2024
cfa824d
Merge branch 'main' of github.com:descope/descope-php
gaokevin1 Aug 8, 2024
f749ced
Merge branch 'main' of https://github.com/descope/descope-php
gaokevin1 Sep 19, 2024
bed91db
Merge branch 'main' of https://github.com/descope/descope-php
gaokevin1 Sep 23, 2024
fcedca7
Merge branch 'main' of https://github.com/descope/descope-php
gaokevin1 Sep 30, 2024
187f446
Merge branch 'main' of https://github.com/descope/descope-php
gaokevin1 Nov 4, 2024
97374ad
fixed validateToken function
gaokevin1 Dec 13, 2024
4d46a32
added error handling
gaokevin1 Dec 23, 2024
2333751
fixed phpunit.xml
gaokevin1 Dec 23, 2024
957ce83
fixed linter
gaokevin1 Dec 23, 2024
ff154bf
added jwk caching and fully custom JWT validation logic, instead of u…
gaokevin1 Dec 27, 2024
ac32f86
added MD5 hashing algo support
gaokevin1 Dec 27, 2024
25878e9
Revert "added MD5 hashing algo support"
gaokevin1 Dec 27, 2024
e2ea284
added MD5 support
gaokevin1 Dec 27, 2024
1ac0689
cleaned up code
gaokevin1 Dec 27, 2024
e1da1b5
added gha action
gaokevin1 Dec 27, 2024
8319212
added phpunit.yml
gaokevin1 Dec 27, 2024
1c611c1
fixed linter
gaokevin1 Dec 27, 2024
ba29d1f
added fix for tests
gaokevin1 Dec 30, 2024
33cf5b6
Merge branch 'main' into fix-validateToken
gaokevin1 Dec 30, 2024
6826d76
Update src/SDK/Configuration/SDKConfig.php
gaokevin1 Jan 2, 2025
393e992
added new lines at bottom of Password classes
gaokevin1 Jan 2, 2025
2bbf089
Merge branch 'main' of https://github.com/descope/descope-php into fi…
gaokevin1 Jan 2, 2025
ba71e2d
Merge branch 'fix-validateToken' of https://github.com/descope/descop…
gaokevin1 Jan 2, 2025
134de0e
added matrix strategy for phpunit tests
gaokevin1 Jan 2, 2025
a117f32
added TokenValidator class
gaokevin1 Jan 2, 2025
deb6452
fixed name
gaokevin1 Jan 2, 2025
1dedcba
added abstract class for caching
gaokevin1 Jan 2, 2025
926114d
fixed linter
gaokevin1 Jan 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PHP Unit Tests

on:
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

env:
DESCOPE_PROJECT_ID: ${{ vars.DESCOPE_PROJECT_ID }}

steps:
- uses: actions/checkout@v2

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
gaokevin1 marked this conversation as resolved.
Show resolved Hide resolved

- name: Install dependencies
run: composer install

- name: Run tests
run: vendor/bin/phpunit --configuration phpunit.xml
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
],
"require": {
"php": "^7.3 || ^8.0",
"web-token/jwt-framework": "2.2.11 as 2.3.0",
"guzzlehttp/guzzle": "7.9.2 as 7.9.3",
"paragonie/constant_time_encoding": "^2.7.0",
"vlucas/phpdotenv": "^5.6.1"
Expand Down
Loading
Loading