Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
abceb07c1a |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "archery",
|
"name": "archery",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "archery",
|
"name": "archery",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"body-parser": "^2.2.0",
|
"body-parser": "^2.2.0",
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "archery",
|
"name": "archery",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"description": "Build Arch packages through a web interface",
|
"description": "Build Arch packages through a web interface",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"docker",
|
"docker",
|
||||||
|
@@ -324,7 +324,8 @@ class Web {
|
|||||||
userInfoURL: openidconf.userinfo_endpoint,
|
userInfoURL: openidconf.userinfo_endpoint,
|
||||||
clientID: options.oidc.clientId,
|
clientID: options.oidc.clientId,
|
||||||
clientSecret: options.oidc.clientSecret,
|
clientSecret: options.oidc.clientSecret,
|
||||||
callbackURL: `${baseUrl}cb`
|
callbackURL: `${baseUrl}cb`,
|
||||||
|
scope: 'profile'
|
||||||
}, async (_: string, profile: passport.Profile, cb: OpenIDConnectStrategy.VerifyCallback) => {
|
}, async (_: string, profile: passport.Profile, cb: OpenIDConnectStrategy.VerifyCallback) => {
|
||||||
const userObj: User = {
|
const userObj: User = {
|
||||||
id: profile.id,
|
id: profile.id,
|
||||||
|
Reference in New Issue
Block a user