Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
e184fed8
Commit
e184fed8
authored
Aug 04, 2019
by
Tiemen
Committed by
Nicolas Giard
Aug 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: skip discord authorization screen (#949)
parent
e1f8bf59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
authentication.js
server/modules/authentication/discord/authentication.js
+1
-0
No files found.
server/modules/authentication/discord/authentication.js
View file @
e184fed8
...
@@ -13,6 +13,7 @@ module.exports = {
...
@@ -13,6 +13,7 @@ module.exports = {
new
DiscordStrategy
({
new
DiscordStrategy
({
clientID
:
conf
.
clientId
,
clientID
:
conf
.
clientId
,
clientSecret
:
conf
.
clientSecret
,
clientSecret
:
conf
.
clientSecret
,
authorizationURL
:
'https://discordapp.com/api/oauth2/authorize?prompt=none'
,
callbackURL
:
conf
.
callbackURL
,
callbackURL
:
conf
.
callbackURL
,
scope
:
'identify email'
scope
:
'identify email'
},
async
(
accessToken
,
refreshToken
,
profile
,
cb
)
=>
{
},
async
(
accessToken
,
refreshToken
,
profile
,
cb
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment