I am testing SSO with okta. I am trying to login to okta using an Android Emulator. For me to be able to hit my local host from the emulator I used ngrok. Now i am able to access the local host from ngrok provided url "https://xxxx.ngrok.io/". I can get to the okta screen but when I login to okta it does not render the page but throws errors according to following saml settings on OKTA
I have the following SAML settings on OKTA
Single Sign On URL : https://localhost:port/signin-saml
Recipient URL : https://localhost:port/signin-saml
Destination URL : https://localhost:port/signin-saml
Audience Restriction : https:/localhost:port/saml
I get the following error
Webpage not available
The webpage at https://localhost:port/sigin-saml could not be loaded because
net:ERR_CONNECTION_REFUSED
I tried changing the saml settings to the following in Okta
Single Sign On URL : https://xxxx.ngrok.io/signin-saml
Recipient URL : https://xxxx.ngrok.io/signin-saml
Destination URL : https://xxxx.ngrok.io/signin-saml
Audience Restriction : https://xxxx.ngrok.io/saml
I get back the following error,
Exception: SAML Response has invalid Destination
I am not sure how i can use the ngrok url to redirect to android emulator.
Thank you!!
Related
Good morning everyone,
For a few days I have been failing to log in with facebook on my website made with WordPress.
The error message I get is the following:
"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."
I have tried creating a new Facebook login app and get exactly the same error window.
Can someone please try what is the problem?
encontinuo.com/login
I attach the screenshots with the error and the URI configuration that I have applied in the Facebook login app.
Thank you very much.
Facebook connect button
URIs error
URIs config
in chrome extension application it has a url like chrome-extension://lcoibdhlihchjibnocnoofbfobniiofp/index.html
and it request to server to authenticate using SNS Oauth
Flow looks like these
chrome extension -> API server -> google -> API server(callback) -> chrome extension (redirect to)
the situation is
if browser keeps google oauth session it works well
initiator accounts.google.com request to API server using callback endpoint
and it redirects to chrome extension well
but
if browser doesn't keep session so i must enter password to authenticate browser blocks redirection
I have no idea where to check to fix the issue.
diff
i got new difference between two situation
the one Oauth session is not kept
the other Oauth session is kept
could possibly initiator matter ?
I have encountered the following FB error:
Given URL is not allowed by the application configuration: One or more
of the given URL is not allowed by the App's settings. To use this URL
you must add a valid native platform in your App's settings.
Also Facebook OAuth redirect URI, does not accept http local host.
You may need to review the OAuth settings for your Facebook application
Also Facebook OAuth redirect URI, does not accept http local host
HTTPS is required for new Facebook integrations. You can get free certificates from Lets Encrypt or use self-signed certs and add them to your mobile device. It's a little more complicated, but it's really for the best :-)
I have configured ADFS 3.0 in my lab and trying to integrate with Salesforece. When I try to access the SalesForce using ADFS. It redirects me to ADFS login page which is expected behavior but after entering the credentials, it automatically redirect to internal IP Address instead of DNS name. I have checked on ADFS server but nothing found abnormal.
First URL (Login Page)
https://adfs.mycompany.com/adfs/ls/?SAMLRequest=
After entering the credentails, redirects to below URL
https://10.25.218.25/adfs/ls/?SAMLRequest=
Please help.
End point URL : https://i.stack.imgur.com/4k1cb.png
I have followed the this tutorial (http://bulenttastan.net/login-with-facebook-using-meteor-js/) to setup Meteors accounts-facebook package. The application worked fine while working on the local environment(localhost).
Now that I have hosted the app on my server I have the following configuration on my Facebook Apps Dashboard.
But when I try to login from my application I receive the following error message:
"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."
My app is hosted on the port '3002' so, I have set the port along with the domain name on the Site URL section on facebook and with respect to the site URL I have also set the redirect URI as given on the image.
Thanks in Advance.
Found a Fix! Setting the ROOT_URL environment variable did the trick for me.