Forward not working in 8.2.1 "/forward/" after login

Permalink
Hello guys!

I really need this feature to work as it is a nust have for the work I am doing at the moment.
Searched arounf here but cant find this feature of forward is working.
Any help will be greatly appreciated.

Thanks!

View Replies:
sharadkap replied on at Permalink Reply
This is when I use my custom Authentication Handler. With Standard login it works fine.
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi sharadkap,

To better assist you, please include more specific details about your problem.

Tips for getting forum questions answered
http://documentation.concrete5.org/tutorials/tips-getting-forum-que...
sharadkap replied on at Permalink Reply
Sure @MrKDilkington. There is nothing much here to add. My website is still under development and I just need help in fixing this problem. I dont see this working with custom Authentication handler. The 'forward' seems to work on out-of-the-box login as it has got the method 'forward' implemented which sets the collectionId in the cookie. However, I am not sure how to do this with the Custom Authentication Handler which is sitting under /application/authentication/

Is there something you would know? I see you have a lot of experience with C5.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@sharadkap

Have you reviewed the documentation on custom authentication types?
https://documentation.concrete5.org/developers/users-groups/advanced...
sharadkap replied on at Permalink Reply
Yes, this is the same document I followed to create my custom AuthenticationType Handler.
sharadkap replied on at Permalink Reply
This works now after a lot of digging in the code.
I found the redirection logic is implemented in the getRedirectUrlFromSession in the single_page/login.php so I just had to use the same method in my custom controller for the new authentication type where the call back happens.

This issue is resolved now.