Typo3: Redirect after login not working - typo3

This is T3 v6.2.36 and I have a login page with a subpage. The subpage is restricted to login users and hence does not appear in the menu before login. When I click on the login page in the menu and enter the credentials I do not get redirected to the subpage. I have set the redirect target page in the user group. Also I have set the login plugin to "redirect defined by user group". It sounds so easy and intuitive, yet it doesn't work. What am I missing?

Related

How to redirect user to login page if not logged in and redirect them back to referrer url in magento 2?

I have a page
mystore.com/interest
which requires user to be logged in. When this controller is hit I redirect customer to
mystore.com/customer/account/login/
After they login I want them back to
mystore.com/interest
not to the user dashboard. How to do this?
//Following two possible ways.
System > Config > Customer
> Costumer Redirect Customer to Account Dashboard after Logging in > NO
OR set the following code in after login method.
$this->_redirectReferer();

When entering canvas url, facebook automatically redirect to oauth dialog not index page

When entering 'https://apps.facebook.com/seemyfuture', Facebook automatically redirect users to Oauth dialog, while i didn't write any script for that.
Users suppose to land on my index page on 'example.com/seemyfuture/index.php' first. On the index page, i allow user to read something out first then if they are ok they can click a link which will lead them to OAuth dialog.
Is this due to any setting or any facebook rule?
Go to your app settings, and disable “authenticated referrals” in the auth dialog settings …

Connect With Facebook Question

i have a Connect With Facebook button for my main site. Then, I also create a smaller site for Facebook App and Facebook Page Tab (? I don't know what it's called), but the smaller site is created with Page Tab in mind ( width 520px ). All of them of course have a Connect With Facebook button.
My question is, how to check if the user connect with facebook from the main site or from a Facebook App or Page Tab? FYI, my smaller site is on a folder inside the mainsite, which I route with Virtual host, so the url for my mainsite is for example domain.com, and the smaller site fb.domain.com.
I've checked the Facebook App and Page Tab, and everything works perfectly as in the main site, the only thing that's strange is when people connect with facebook from Facebook App or Page Tab, they get redirected to fb.domain.com, because that's what I put in the Canvas URL of the Facebook App.
Of course, I can route the fb.domain.com to redirect to the Facebook App, but I don't want that, and even if I route it, the problem is still the same, how can I check if they Connect With FB from a Page Tab or from the FB App ?
I hope I'm being clear, as I'm new to this Connect With FB thing
https://developers.facebook.com/docs/guides/canvas/#tabs has a section which outlines how to do what you want.
When a user navigates to the Facebook Page, they will see your Page Tab added in the next available tab position. Broadly, a Page Tab is loaded in exactly the same way as a Canvas Page. When a user selects your Page Tab, you will received the signed_request parameter with one additional parameter, page. This parameter contains a JSON object with an id (the page id of the current page), admin (if the user is a admin of the page), and liked (if the user has liked the page). As with a Canvas Page, you will not receive all the user information accessible to your app in the signed_request until the user authorizes your app.
The section on signed requests will also be helpful in understanding how this works.

Looking for previous page redirect on Joomla CB login

Hey, I've been looking for a solution to this particular problem for a few days now with no luck. I'm working with Community Builder for a login page to a Joomla website. The site has some pages that require the user to be registered to have access to, and if they try to view the page without authentication they get redirected to the CB login page. The problem is that, after providing the proper login information, the user is sent to the index.php page. I'm trying to find something through code or plugin that'll allow me to redirect the user back to the page they are trying to view after logging in. Does anybody know of a method to implement this?
You can create a system plugin with event onAfterDispatch. Here you can check if user has access to the requested url (through joomla acl functions). If not then redirect the user to cb login page with additional query parameter return=base64_encode_url. It will set the hidden field named 'return' in login form and user will be redirected to that url after login.

How to disable the sign up page once user gets inside the app?

In my application there is a login page after login the user will get access to the functionalities of the application.
Now there is a back button clicking on which the user will go on to the home page now my requirement is that when the user returns to the home page it sholud not ask for the login again that is the login page should be disabled it should directly go on to the next page.
How to do that???
Please help me.......
Check to see if the user is logged in. If not, present the login view modally, if the user is logged in, skip that step.