Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » External authentication

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1567 Views
  • ivan.pro
    Avatar
    Community Member
    15 Posts

    External authentication Link to this post

    Hi... I want to install external authentication module. What is the correct "_config.php" file I can use?
    I've created a new file (empty) but the module doesn't run.. I've renamed the examples files as _congig.php but I get an error... What can I do?

    Thank you..

  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    Re: External authentication Link to this post

    Have you read this:

    http://doc.silverstripe.com/doku.php?id=modules:external-authentication

    What are you trying to authenticate against? You can't use a blank _config.php the documentation explains how to re-use one of the example configs provided in the download.

  • ivan.pro
    Avatar
    Community Member
    15 Posts

    Re: External authentication Link to this post

    When I use one of the examples I get this error: “Fatal error: Declaration of ExternalAuthenticator::authenticate() must be compatible with that of Authenticator::authenticate() in C:\wamp\www\silverstripe-v2.2.2\silverstripe-v2.2.2\auth_external\code\ExternalAuthenticator.php on line 458”.

    Do you know how can I resolve this problem?

  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    Re: External authentication Link to this post

    I can't help unless I know what external source you want to authenticate against.

  • ivan.pro
    Avatar
    Community Member
    15 Posts

    Re: External authentication Link to this post

    I want to authenticate against other SilverStripe users....
    Do you know how can I do?

  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    Re: External authentication Link to this post

    Unless you are chaining together that login to SilverStripe with another external source, it's pretty pointless using external authentication just to check SilverStripe users - as there already exists a perfectly adequate login for SilverStripe. The point of the SilverStripe driver for auth_external is to allow daisy chaining logins with other drivers - and wasn't meant to be used for individual login. Either way, if you enable the SilverStripe driver, you should be OK. You can achieve this by copying the example information from the docs/sstripe.php to _config.php and changing the details inside to match your installation.

    1567 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.