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(authentication): add login & callback actions #6

Merged
merged 36 commits into from
Nov 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
44ff7f2
chore: add package league/oauth2-client
matthv Oct 29, 2021
494ac75
chore: update gitignore
matthv Oct 29, 2021
892162f
chore: set verify params on api-requester
matthv Oct 29, 2021
889bf5c
chore: update coverage on provider
matthv Oct 29, 2021
f64f6fc
feat(oidc): add manager
matthv Oct 29, 2021
7b45761
chore: helper response Guzzle client
matthv Oct 29, 2021
bdaed59
chore: update coverage on provider
matthv Oct 29, 2021
513f3db
chore: add jwt package
matthv Nov 2, 2021
9ad5b40
chore: set new env config 'auth-secret'
matthv Nov 2, 2021
f8ebf44
chore: add new api error message
matthv Nov 2, 2021
73c4d3f
chore: refactor oidc
matthv Nov 2, 2021
790448c
feat(login): set up provider & resourceOwner
matthv Nov 2, 2021
332d974
feat(login): auth & callback behavior
matthv Nov 2, 2021
37d7191
chore: add invokeProperty to test
matthv Nov 2, 2021
23ceccf
feat(login): improve oauth2-provider
matthv Nov 2, 2021
2a443e4
chore: lint AuthManager
matthv Nov 2, 2021
3bfd922
feat(login): tests on provider
matthv Nov 2, 2021
96eaa9c
chore: test provider update cast
matthv Nov 2, 2021
d6b1b6c
chore: update environment on main test case
matthv Nov 3, 2021
28f0139
feat(login): add test on ForestResourceOwner
matthv Nov 3, 2021
dc45fe0
chore: update test config
matthv Nov 3, 2021
f2be72d
chore: lint ForestApiRequester
matthv Nov 3, 2021
fb311d0
chore: test on Oidc
matthv Nov 3, 2021
42358ce
chore: fix Oidc test
matthv Nov 3, 2021
c168ee2
chore: lint
matthv Nov 3, 2021
79f1f6e
chore: fix tests
matthv Nov 4, 2021
fa7d457
chore: add test on OidcClientManager
matthv Nov 4, 2021
407a2ad
chore: fix lint
matthv Nov 4, 2021
10367e6
chore: config test, add prophecy-phpunit
matthv Nov 8, 2021
ea3e054
fix(oidc): fix catch exception & authorization
matthv Nov 8, 2021
6737b52
chore: test add prophecy trait
matthv Nov 8, 2021
dff3e1a
chore: add test on AuthController & AuthManager
matthv Nov 8, 2021
0d5655f
chore: fix tests authentication
matthv Nov 9, 2021
490397a
chore: add assert on login method
matthv Nov 9, 2021
6a8cc47
chore: fix lint on auth test
matthv Nov 9, 2021
689716a
chore: add test on CORS middleware
matthv Nov 9, 2021
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ vendor

# phpunit
.phpunit.result.cache
coverage
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
"laravel/framework": "^8.0",
"doctrine/dbal": "^3.1",
"asm89/stack-cors": "^2.0",
"guzzlehttp/guzzle": "^7.4"
"guzzlehttp/guzzle": "^7.4",
"league/oauth2-client": "^2.6",
"firebase/php-jwt": "^5.4",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"orchestra/testbench": "^6.19",
"squizlabs/php_codesniffer": "^3.6"
"squizlabs/php_codesniffer": "^3.6",
"phpspec/prophecy-phpunit": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading