chdemko / joomla-external-login

The External Login project allows Joomla! to manage external Authentication Servers
GNU General Public License v2.0
30 stars 19 forks source link

Redirection #35

Closed shteevy closed 6 years ago

shteevy commented 7 years ago

Hello Christophe,

The new redirection system is very nice. But i have little problem.

When a user directly loads the address of a specific page of the site, he is redirected because of the "Login redirection" option.

What I would like to do is simply redirect users who connect from the home page to a specific menu link. When the user has entered a direct address to a page, it should continue to be redirected to that page after authentication.

Is it possible ? Many thanks for your help,

Steve.

chdemko commented 7 years ago

Will do soon

chdemko commented 7 years ago

Could you please test the version 3.1.1.0-beta2 which implements your feature?

https://github.com/chdemko/joomla-external-login/tree/3.1.1.x

shteevy commented 7 years ago

Hello Christophe.

The links to pkg_externallogin-3.1.1.0-beta2.zip and plg_system_caslogin-3.1.1.0-beta2.zip are broken.

Steve.

chdemko commented 7 years ago

Oups, I forgot to upload the files. Done!

shteevy commented 7 years ago

Hello Christophe. On my Joomla 3.6.5 :

In the two configurations, when I load a direct URL to a page that require authentication, i'm not redirected to this page after a good authentication. Steve.

chdemko commented 7 years ago

I don't understand your issue

chdemko commented 7 years ago

I think I've understood what you mean. See 3.1.1.0-rc2

https://github.com/chdemko/joomla-external-login/tree/3.1.1.x

shteevy commented 7 years ago

Hello Christophe, Sorry for this comment sent very late and not very understandable.

With version 3.1.1.0-rc2:

image

---> No redirection from the HomePage ---> No redirection from a specific URL to this specific URL after authentication

image

---> No redirection from the HomePage ---> Redirection from a specific URL to this specific URL after authentication : OK

In the two cases, I cannot get the redirection working from the homepage.

Steve.

chdemko commented 7 years ago

Is it in a module, in a menu item, in a server configuration or in the component? It's working on my PC here.

shteevy commented 7 years ago

Hello Christophe, it's in the server configuration. I tried with the component configuration but nothing is working for me. I tried on 2 others Joomla installation and same effect too.

Steve.

chdemko commented 7 years ago

And what are you doing exactly (filling the url in the browser, clicking on a menu item, ...)

shteevy commented 7 years ago

When I select the following configuration:

image

  1. Clear the cache of browser
  2. Just log from the from the homepage of the website using the module. Result : no redirection
  3. Disconnection and clear cache
  4. Trying to load a direct url (for example www.site.com/news.html)
  5. The page ask me to authenticate, i use the module again
  6. After succesfull authentication, i'm not redirected to the page example www.site.com/news.html

in the other config :

image

  1. Clear the cache of browser
  2. Just log from the from the homepage of the website using the module : no redirection
  3. Disconnection and clear cache
  4. Trying to load a direct url (for example www.site.com/news.html)
  5. the page ask me to authenticate, i use the module again
  6. After succesfull authentication, i'm correctly redirected to the page example www.site.com/news.html

Steve.

chdemko commented 7 years ago

Did you refresh the site front page in step 3?

shteevy commented 7 years ago

Yes i refreshed it. I can give you access to my website if you want to make some tests.

update : it works if i configure the redirections options into the module and not in the component or server.

Steve.

chdemko commented 7 years ago

See 3.1.1.0-rc3

shteevy commented 7 years ago

Strange comportement : I have to put "Don't force redirect" on "no" if I want to be redirected from the home page. After successfull login, i'm on the page "/component/users/?view=login"

Steve.

chdemko commented 7 years ago

The better is that you give me access to the website. send at chdemko at gmail dot com

shteevy commented 7 years ago

Hello Christophe, did you receive my mail with the informations to access my website ?

chdemko commented 7 years ago

Yes thanks, I have some health issues...

shteevy commented 7 years ago

Hello Christophe. I hope you are fine. Did you verify the problem on my joomla ? Steve.

chdemko commented 6 years ago

Closing this issue as there is no new input