passport-gitlab2
passport-gitlab2 copied to clipboard
GitLab authentication strategy for Passport
Unlike several other passport strategies (including passport-facebook, passport-github, and passport-twitter) that provide the user avatar in the [profile object](http://www.passportjs.org/docs/profile/) `photos` field, passport-gitlab2 uses `avatarUrl` instead. Is there any reason for...
## Description This commit includes changes that extend the profile-object returned by this application to include the groups the user has access to. This is done by means of a...
Hey guys. I'm unsure if the library is still maintained, but I hope so. After a simple setup, I keep being redirected to https://gitlab.com/users/sign_in with a 503 error. 1. My...
> The scope parameter is a space-separated list of scopes associated with the user Source: https://docs.gitlab.com/ee/api/oauth2.html
Is it possible to allow a user not by specifying all users, but to allow login by group?
Hey, i'm using sailsjs (latest 1.2.3) When the `gitlab` action is called i get an infinite loop. Action in my controller ``` gitlab: function (req, res, next) { sails.log.info("Gitlab"); passport.authenticate('gitlab');...
I am unable to get the ``` function(accessToken, refreshToken, profile, cb) { console.log(profile); } ``` to fire when authenticating ``` passport.use(new gitlabAuth({ clientID: info.gitlabID, clientSecret: info.gitlabSecret, callbackURL: "http://bertie.io:"+opts.port+"/auth/gitlab/callback", baseURL: "http://git.bertie.io"...
One main problem with the `/api/v4/user` endpoint is that the permission needed is `read_user` which also gives permissions to read all users (`/api/v4/users`) also. This is kinda bad if the...