Comments (6)
You can now precise the login url for each CAS server.
from joomla-external-login.
Hello Christophe, this answer is not helping :( Even if a page is choosed, we are redirected to the profile page. I experience it again on a fresh install of Joomla. I think something has changed in the routing method in Joomla 3.8.9 release.
Steve.
from joomla-external-login.
Unfortunatély, I cannot fix this issue for now. You are welcome to propose a Pull Request
from joomla-external-login.
Thank you Christophe. I'm not a coder but i have some friends that are good but not familiar with Joomla Framework. We search for two days without result. Do you have an advise or some explanation for them ?
from joomla-external-login.
The issue is starting https://github.com/chdemko/joomla-external-login/blob/master/src/plg_system_caslogin/caslogin.php#L436
Bad information are sent to the com_users component. See https://github.com/joomla/joomla-cms/blob/staging/components/com_users/controllers/user.php (the login task)
from joomla-external-login.
Hello,
We fix this using this code : ..\plugins\system\caslogin\caslogin.php (line 447)
Replace :
$input->set('option', 'com_users');
$input->set('task', 'user.login');
$input->set('Itemid', 0);
$input->post->set(JSession::getFormToken(), 1);
// We are forced to encode the url in base64 as com_users uses this encoding
$input->post->set('return', base64_encode($return));
By :
$input->set('option', 'com_users');
$input->set('task', 'user.login');
$fix = JFactory::getApplication()
->input
->getInputForRequestMethod();
$fix->set('Itemid', 0);
$input->post->set(JSession::getFormToken(), 1);
// We are forced to encode the url in base64 as com_users uses this encoding
$fix->set('return', base64_encode($return));
Is it correct for you ?
Steve
from joomla-external-login.
Related Issues (20)
- Populate form with response variables HOT 1
- Why my joomla get duplicate users? HOT 2
- Login redirection is not working correctly in Joomla 3.8.12. HOT 1
- Redirect to the requested page using "External login Component" HOT 2
- Error logging in after upgrading to 3.1.2.2 HOT 8
- Front-end login problem when following URL to External Login menu item HOT 7
- External Login Menu Item "Login Redirection Page" option is ignored HOT 2
- Unsuccessful verification of server 1 HOT 2
- URL for Front-end External Login menu item is losing HTTPS prefix when being passed to CAS server HOT 18
- How transfert Joomla User on Cas server ? HOT 1
- Do i need use LDAP ? HOT 1
- On the back-end, the External Login module.
- Αuto-register HOT 1
- Error response from CAS Login
- Changing the Username xpath attribute
- Can access be restricted based on users' CAS group attributes?
- CAS logout not cleanup user cookies correctly
- Will External Login work with Joomla! 4? HOT 2
- This project is no longer being maintained - what to do next? HOT 4
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 joomla-external-login.