google oauth not redirect properly - google-oauth

I am working on site where I have used google OAuth 2.0. when I click on login link on my index page, it takes me to the login page of the google ( all required credentials with clien_id, key, redirect url has been passed with the link) and after entering credentials, it ask for granting access to the app. when I click on grant access instead of redirecting to my redirect page it shows me following error.
You've reached this page because we have detected that Javascript is disabled in your browser. The page you attempted to load cannot display properly if scripts are disabled.
Please enable scripts and retry the operation or go back in your browser.
but in my all browsers javascript is enabled and working fine. what should I do now ?

I can probably help you figure it out. If the "granting access" page loads and doesn't give you the JS error, but you get it after submitting the form on the page, then there is something strange with your browser and it's not submitting the form correctly.
Can you tell me what browser you can reproduce this on? And if possible can you give the headers and post body of your request after you submit the form?

Getting that error when the gstatic.com domain isn't enabled in the noscript addon for firefox.

Related

How to resolve "No credentials available" Issue in google One Tap Login?

I am working in one project in which I need to integrate Google One Tap Login which show All accounts list that were currently logged in into browser.
One Tap Login Iframe is adding successfully in localhost environment but With the use of same PROVIDER_ID, When I deploy my project into server with staging url.
I got Issue with Open Iframe. It is always show error like "noCredentialsAvailable: No credential is available for the current user." But I already have login with two accounts in gmail.
I can't understand this kind of behaviour of Iframe.
Another question of StackOverflow say's that put button of Google for login via google. but I want to resolve this issue.
Is there any missing code from my side ?
Same Prvider ID is used in Localhost and Staging(subdomain) Still Error is occur.

handle windows login pop-up using selenium web driver for https website

My scenario:
I am opening a https website, I get a login pop-up that is not identified by selenium webdriver. I have searched and found the below link which had similar question.
How to handle login pop up window using Selenium WebDriver?
I tried he solution given by #Pavel Janicek to pass the credentials via URL
It does not working for me, I mean after the browser is opened it keeps processing nothing happens after that.
In my case, it is a https site,i need to give username#domainname & password to login, giving only username will not work
my url looks like this
https://username#domainname:password#sitename.com
Has anyone faced this kind of problem?
Thanks
You can NOT auth with this window(in selenium without any additional framework as Robot). But you can auth without getting this window. Try change URL to: http://user:password#www.yourserveradress.com
if this will not help, you need to create separated profile in browser, pass authentication on this server and remember password and use this profile in selenium. Also I think its possible to use Windows active directory authentication, but cannot sure about details.

How to remove "redirect notice" from Google Plus share message (using Google Plus share plugin)

When a user clicks a link on my page they go to a click tracking service and then are redirected to the "real" page. When I try to share the link using the Google Plus share plugin, the share message states "redirect notice."
Anyway for Google's Share plugin to actually go to the redirected destination instead of the notice? The Facebook Share plugin has no problem with the redirect.
Example of link on my page: https://plus.google.com/share?url=www.myclickservice.com?ref=www.realpage.com
The click tracking service logs the click and then returns a 302 and redirects to the "real" page.
The Snippet documentation makes no guarantee about handling redirects. If you would like to see the current behaviour change, please file a feature request.

Working with Soundcloud API

I am working with an app we are developing and I am getting a 404 on Soundclouds link.
//connect.soundcloud.com/sdk.js ?
please advise as this is the link they provide to connect
You should contact them as the link to the JS is clearly not loading. You need a new URL.
You can load http://connect.soundcloud.com/sdk.js in your web browser to see that it is not available.
It is possible that you are not authorized to view this file and it is displaying the 404 message hiding the not authorized condition. If this is the case you will need to get authentication information.

ADFS web authentication loop in IE

I have a mvc4 web app that sits behind ADFS 2.0 authentication, it's configured using the web.config file. The application can be visited by going directly to a URL or as an iframe inside of CRM 2013.
The application works in all (tested) browsers when visiting the URL directly, both redirection to login form and handing the user back to the web app with the proper information in the ClaimsIdentity.
However, when visiting the app as an iframe inside CRM2013, internet explorer goes into a continous login loop. You are asked to provide the credentials (which are the same as for logging in to CRM) and when you click ok you get redirected back to the same login page again, to my knowledge the app never receives the hand off.
In Safari, Chrome, Firefox, and Opera the users are able to log into the application inside of CRM as well as outside without any problems (I'd even go as far as saying that it works better than expected for these browsers).
Does anyone have any idea of what I can try or what the problem could be for IE?
EDIT 1
I'm thinking it has to do with some security setting and am playing around with the settings in IE. Unchecking this box stops the login form from showing in IE at all and I get an empty page instead.
Is the iFrame on the same (sub)domain as the site inside? You can use Fiddler to view your redirect flow, are the cookies added as expected?
I've seen cookies that are overridden by the iFrame host, in that case you lose the auth cookie. Browsers react differently on same domain cookies.
Another problem might be X-Frame-Options, do you see any warning in the F12 console of IE?