Skip to content

Commit a8af1b9

Browse files
Karthikeyan RKarthikeyan R
authored andcommitted
KB-12946 added User.Read in scope for OIL India login
1 parent df2c8af commit a8af1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/publicApi_v8/oilAuth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ oilAuth.get('/auth', async (req, res) => {
2626
oAuthParams = oAuthParams + '&redirect_uri=' + redirectUrl
2727
oAuthParams = oAuthParams + '&response_type=code'
2828
oAuthParams = oAuthParams + '&response_mode=query'
29-
oAuthParams = oAuthParams + '&scope=openid profile email'
29+
oAuthParams = oAuthParams + '&scope=openid profile email User.Read'
3030
const state = uuid.v4()
3131
oAuthParams = oAuthParams + '&state=' + state
3232
// Store state in Redis with 5 minutes expiration

0 commit comments

Comments
 (0)