meteor-accounts-ldap icon indicating copy to clipboard operation
meteor-accounts-ldap copied to clipboard

How to integrate with accounts-ui?

Open dpdonohue opened this issue 10 years ago • 10 comments

The name accounts-ldap makes me think this would work with the Meteor accounts system.
As documented here, https://atmospherejs.com/meteor/accounts-ui

I did this

meteor add accounts-ui
meteor add typ:accounts-ldap

Then I added this to my HTML template

{{> loginButtons}}

I do not see a login button. Instead I see a red message "No login services configured". Does this package support accounts-ui?

dpdonohue avatar Aug 19 '15 14:08 dpdonohue

I see that this cannot be done. Need to create your own login screen etc. Easy integration with the Metoer accounts system is only provided for oauth services.

dpdonohue avatar Aug 25 '15 12:08 dpdonohue

@typ90 Would it be possible for you to share how did you implemented this package?

@dpdonohue how did you find out about the fact that only 0auth services are integrated this way?

Thanks.

aaroncalderon avatar Dec 03 '15 19:12 aaroncalderon

I looked at the Meteor codebase.

dpdonohue avatar Dec 03 '15 22:12 dpdonohue

@dpdonohue @aaroncalderon Sorry - I haven't been maintaining this package properly. I plan on doing a new release in the coming days.

I'll include an unstyled template helper for the login in the coming release.

etyp avatar Dec 03 '15 22:12 etyp

I cloned the accounts-ui-unstyled and kind of back engineered the interphase. Although it has lots of bloat ware code that is not used by this module at the moment.

It works. I will clean it up and then try to release it as a package or at least on GitHub

aaroncalderon avatar Dec 04 '15 19:12 aaroncalderon

I was finally able to get the login working and the UI package as well.

I will try to clean the UI package a bit and publish a package to atmosphere if possible.

Thanks

aaroncalderon avatar Dec 09 '15 14:12 aaroncalderon

I'm having the same issue here, don't know how to integrate this package with accounts-ui. @aaroncalderon: Would be great if you could share your solution. thanks

rhizomatic avatar Jan 13 '16 14:01 rhizomatic

@rhizomatic At the moment I do not have a polished solution. I just cloned the accounts-ui-unstyled and was able to get it working, but I had to change some specific code to make it work with my organisation's implementation of the Active Directory. I do not recall if I added any comments explaining what I did.

If I share it on atmosphere it would be marked as pre-Alpha. if that is ok with you...

aaroncalderon avatar Jan 22 '16 19:01 aaroncalderon

The following has login buttons. Im sure the two could be easily merged, I just dont have the time right now.

https://github.com/UK-AS-HIVE/meteor-accounts-ldap https://github.com/JackAdams/meteor-accounts-ldap

unmonk avatar May 10 '16 19:05 unmonk

Could anyone speak to integrating this with AccountsTemplates? I realize it's not accounts-ui but it seems like AccountsTemplates is the way MDG is suggesting in their guide.

Update: I checked in AccountsTemplates and there is no support as of yet.

chazsolo avatar Dec 07 '16 16:12 chazsolo