"Sorry, this page could not be found." - instagram

I have one website, and i use the Intagram API.
But, since morning, after user login (or authorize the app), the page show the result:
"Sorry, this page could not be found."
But, my page is ok. And, if i enter again in this page. The Instagram redirect to my page correctly.
I don't know what is it. And why Instagram not redirect automatic.

Your Domain was banned in the Client ID

Related

Drupal site with Azure AD SAML SSO login. Redirect user back to a page where link to protected file exists

This is the scenario...
The user is on a page that is open to the public.
On that page there are two links:
Link 1 - Another page on the site.
Link 2 - An MS-Excel file.
Both the file, and the other page on the site require authentication (the file needs authentication to be downloaded; the page needs authentication to be visited).
Here is the problem...
For "Link 1", things work as expected. The user is redirected to authentication and then sent to the page itself.
For "Link 2" (MS-Excel file"), the user is also redirected to authentication and once that is done, the file is download. BUT, in this case, the user is not sent back to the page where "Link 1" exists. Instead, the user is left with a blank page (the URL in the address bar is : https://login.microsoftonline.com/kmsi)
What I've noticed...
When the user is redirected to enter the authentication, the URL for that authentication is something like https://login.microsoftonline.com/ followed by a long code plus query string.
I've noticed that there's a parameter called "RelayState" that points to the resource the user is trying to reach (page for "Link 1", file for "Link 2").
So it seems that Azure knows to go to those places after authentication But, in the case of "Link 2" Azure has no way of knowing to go to back the page where "Link 2" exists after the file is downloaded.
Question:
What (if anything) can I do so, after authentication and after the file is downloaded, the user is sent back to the page where "Link 2" exists?
Thanks.

How do I use history.push("/") conditionitionaly depending on the page you are?

I am using history.push("/") on the login page when login is successful. This is when I directly go to login page. I also want to redirect to login page on the checkout page is the user in not logged in. Then after that I want the user to go on next page not on homepage ("/"). How do I can do this?

Which security protocol do you use in OAuth if starting at Google?

Say you have a website www.site.come and you click 'Log in with Google', the google log in page shows up, you sign in and then directed back to www.site.com but now logged in as the proper user.
What protocol would you use if you started at Google? So for instance you start at google.com, log directly into google and as a logged in user, there exists a button which goes to www.site.com which when you click it will bring you to the www.site.com but signed in based on some information that is passed when the button is clicked. Would this be equivalent to SAML? Or more to OpenId?
It's OAuth 2.0. You can test it with https://developers.google.com/oauthplayground/

How can I show instagram photos in my e-commerce page from Magento Plugin?

I created a developer instagram account and I had my client-id, client-secret, with the option Disable implicit OAuth checked. I put the same Web Site URL and Valid redirect URLs from instagram's development and it's the same into my Magento configuration, but it didn't work.
When I try to connect instagram into my ecommerce page, it shows me another page with this message (instead of my login and after my instagram photos):
{
"code": 400,
"error_type": "OAuthException",
"error_message": "Redirect URI does not match registered redirect URI"
}
but when I put in the Instagram Development page my instagram url path and the same url in Valid redirect URLs and Magento Configuration, the page let me login, but still doesn't show me the photos in order to select them. So it still doesn't work.
I'm a beginner in this task, can you help me?
my page is misimpresiones.com
and this is a video, so you can visit it, and personalice the product for the example:
http://www.misimpresiones.com/media/misimpresiones_Instagram.mp4
I notice in the popup you have it has force_classic in the URL?

How to dispatch SharePoint user to different landing page per their user group immediately after login

I got a requirement to dispatch users to different landing page per their user group immediately after login, it seems SharePoint does not supply an API regarding login event, so I implemented a web part and added it to homepage to handle the dispatch, this would work perfect util users logout and login, SharePoint has a history where users were in their last login, to be precise, a parameter in url named Source to handle the redirect after login, so users will on longer go to their customized landing page.
I searched a lot and found someone doing this with custom login from, this is way too complex and client won't let me touch their Active Directory.
I'm at my wit's end to know what to do, can someone shed some light on this, any help or advise is deeply appreciated
Why don't you use a delegate control in the masterpage, that checks a value in the session if you entered through the landing page. On the landing page you add the value to the session specifying that this user has entered through the landing page.

Resources