Comments (15)
Hi, just wanted to register interest in this enhancement. I'd like to deploy this for our hackerspace members and would be happy to help with testing.
from paperwork.
@irl sounds great! We'll get back, as soon as someone started implementing this. :-)
from paperwork.
👍
from paperwork.
Anybody tried this package? https://github.com/dsdevbe/ldap-connector
from paperwork.
i try it
i configure ad access, i delete
'Illuminate\Auth\AuthServiceProvider',
and i put
'Dsdevbe\LdapConnector\LdapConnectorServiceProvider',
but where make this part of change https://github.com/dsdevbe/ldap-connector#usage ?
I can bypass "sign up" with ldap connector ?
from paperwork.
What do you mean by "bypass sign up"? Your ldap server must provide logins and passwords as I understand and no sign up must be present(you hide it by removing).
from paperwork.
i want all users in LDAP can directly login (sign in) without sign up (if possible)
from paperwork.
Just go into the code and remove the signup button. We will provide better support for this in future.
In particular, you want to remove lines 31-35 of this file to remove the button: https://github.com/twostairs/paperwork/blob/master/frontend/app/views/user/login.blade.php
from paperwork.
Ok, thx :)
But for the moment, i don't hope support to configure ldap connector ?
I must wait the next version ?
from paperwork.
It should work out of the box by overriding the default auth, you just need to configure it as in their readme. Anyway this is not top priority right now.
from paperwork.
Ok, i understand.
if someone has some free time to help me :)
I install it (maybe not correctly) and it doesn't work oob.
Users must sign up even i configure ldap connector ?
how i can see (and enable) logs when i login ?
I must sign up with an email address, but with ldap connector, username is my login (not may email), no ?
Thx
from paperwork.
Signup can be disabled through configuration. In app/config/paperwork.php
set 'registration' => false
. Please don't hack the code. :-)
//Edit: @Renofr, right now we don't provide LDAP authentication. That is why this issue is for. And of course, users won't need to sign up as soon as a proper LDAP implementation was built.
from paperwork.
I'm currently working on this. I gave ldap-connector a shot but it was having some problems that I could not figure out. I am now creating a userprovider that extends the eloquent user provider and does authentication checks using adldap. This makes it so that we can still use the same model that we have, but still be able to use ldap for authentication. I've got it most of the way done, but there's a few bits and pieces to finish up.
I still need to implement automatic registration with ldap, so that if a user successfully authenticates against ldap, but is a new user, it will create a new user and do the registration process.
After that, It should be more or less functional.
I propose that while ldap authentication is enabled, registration is automatically disabled, as I don't believe it would be reasonable to allow the paperwork application to create new users in the ldap directory. Although, this would be technically possible if paperwork was supplied with a domain administrator account. Input on this subject would be appreciated.
As a side note, currently we are using the user's email as the username, but this causes problems due to users in ldap not being emails. For now, I've simply removed the restriction that the username has to be an email on login, but will leave it in place for registration. This makes it so that the normal registration process will enforce the email, but we will be able to manually create users in code with whatever username we need. If there's a better way to handle this, I'd be happy to convert it.
My most recent changes are here: https://github.com/narcolepticsnowman/paperwork/tree/implement_ldap_auth
from paperwork.
#297 needs testing
from paperwork.
Done in #292 #297 and #346 . Please file new issues on this topic as they appear.
from paperwork.
Related Issues (20)
- there is any demo or screenshots? HOT 5
- how to migrate all the paperwork data to another server? HOT 2
- Notebooks can't be deleted when they are part of a collection HOT 1
- No latest version available HOT 1
- Setup demo for Paperwork v2 HOT 1
- How do I start it on a Virtual machine? HOT 30
- Cannot see SMB share in open dialog HOT 1
- Date format of system is not being used HOT 1
- ValueError: Namespace Libinsane not available on start HOT 2
- Don't load Material Icons from Google's Font servers
- Edit button duplicate text
- Sharing note between users not working
- Delete button on all note list not working
- Http failure after timeout
- ValueError: Namespace Libinsane not available HOT 1
- Wizard problem at step 4
- Create Paperwork app on Cloudflare
- Live demo site, dead? HOT 1
- ticket #935 [closed] HOT 2
- ticket #936 [closed] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paperwork.