Remember me? forgot password | register

SilverStripe Forum

4714 Posts in 1056 Topics by 671 members

Jump to:

Extending and hacking

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Community » SilverStripe Forum » Extending and hacking » External authentication
Page: 1 go to end Reply
Author Topic: External authentication 592 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
    43 posts
    1 SilverStripe Site

    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
    43 posts
    1 SilverStripe Site

    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?

    Last edited: 14 September 2008 at 10:02pm

  • Matt Hardwick
    avatar
    Community Member
    43 posts
    1 SilverStripe Site

    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.

    592 views
go to top Reply

Currently Online:

tinatoerat, mschiefmaker, Ingo

Welcome to our latest member: ali