Skip to content

Commit

Permalink
feat: integrate node-oidc-provider by panva
Browse files Browse the repository at this point in the history
This commit is responsible for integrating the node-oidc-provider created by panva and
removing the custom implementation of oidc. As a result there was a change in schema and
a lot of things got deprecated and broken. Tests broke, code failed. Deprecated code was removed and All of the mess was
cleaned and stabilized. Zolo.md is created to help understand the next developer the
remaining tasks and how to accomplish them. Tests were removed as a result the count came
down to 386 from 510 :(
  • Loading branch information
Zolo-Ryan committed Aug 29, 2024
1 parent 0e4ad4f commit 15929eb
Show file tree
Hide file tree
Showing 36 changed files with 1,190 additions and 7,066 deletions.
12 changes: 10 additions & 2 deletions kickstart.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@
"defaultConsentMessage": "Access to your profile data",
"required": false
},
{
"name": "openid",
"defaultConsentDetail": "Openid",
"defaultConsentMessage": "Access to your profile data",
"required": false
},
{
"name": "email",
"defaultConsentDetail": "Your email will be shared",
Expand Down Expand Up @@ -114,10 +120,12 @@
"authorizedRedirectURLs": [
"http://localhost:9001/oauth_callback",
"http://192.168.233.157:9001/oauth_callback",
"http://localhost:4180/oauth2/callback"
"http://localhost:4180/oauth2/callback",
"http://localhost:3000",
"/"
],
"clientSecret": "#{clientSecret}",
"enabledGrants": ["authorization_code", "password"],
"enabledGrants": ["authorization_code", "refresh_token"],
"logoutURL": "http://localhost:3000/logout"
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@samagra-x/uci-adapters-factory": "^1.1.6",
"@types/bcrypt": "^5.0.2",
"@types/jwk-to-pem": "^2.0.3",
"@types/oidc-provider": "^8.4.4",
"@types/oidc-provider": "^8.5.2",
"astro": "^4.11.5",
"axios": "^1.7.2",
"bcrypt": "^5.1.1",
Expand Down
254 changes: 0 additions & 254 deletions prisma/migrations/20240712144712_init/migration.sql

This file was deleted.

Loading

0 comments on commit 15929eb

Please sign in to comment.