Skip to content

Commit

Permalink
Updating django scope
Browse files Browse the repository at this point in the history
  • Loading branch information
davetaz committed Aug 28, 2024
1 parent f5de827 commit 1880a39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "care.theodi.org",
"version": "2.7.1",
"version": "2.7.2",
"description": "The ODI Care tool (AI enabled)",
"main": "index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ passport.use('django', new OAuth2Strategy({
grant_type: 'authorization_code', // Specify grant type
pkce: true, // Enable PKCE,
state: true,
scope: "read",
passReqToCallback: true
}, (req, accessToken, refreshToken, profile, done) => {
fetch('https://theodi.org/api/user', {
Expand Down

0 comments on commit 1880a39

Please sign in to comment.