Permission denied to generate login hint for target domain for Goole Plus login on web - google-plus

I am using public ip address example : mypublicdomain.com
I have not set any redirect url on developer console.
It works fine for when i do it on localhost. It is not working on public ip address.
Please help

Add http://mypublicdomain.com and https://mypublicdomain.com to your redirect uris AND allowed javascript origins - that should fix it.

Related

moodle gets into 'endless redirection' when configured as subdomain

I'd like to setup my moodle instance to be available by address: http://mymoodle.mysite.com.
mysite.com is already registered and I can easily access it because I've configured it at my hosting provider to refer to the IP (let's say IP address x.x.x.x) of my server where I store my web page.
To register the subdomain I'm specifying another IP address where my moodle instance is installed (e.g. y.y.y.y) and configure my provider to do permanent redirect to the URL http://y.y.y.y
moodle instance is installed at wwwroot folder of the web sever, it's accessible via http://y.y.y.y
Now it works for me in the following way: I type http://mymoodle.mysite.com in address bar of my browser and it redirects me to my moodle instance, I see a main screen, all works fine but the URL in address bar is changed to http://y.y.y.y
Alhtough I'd like to see my fancy subdomain address but not IP.
My config.php originally looks like that
$CFG->wwwroot = 'http://y.y.y.y';
but if I change it to
$CFG->wwwroot = 'http://mymoodle.mysite.com';
I'm getting into 'endless redirects'.
Is there a way to resolve this issue and get rid of IP address in address bar?
If you have changed the url of Moodle after the set-up you have to follow those steps : https://docs.moodle.org/310/en/Moodle_migration. Only updating $CFG->wwwroot will not be ok.

Sharepoint URL redirection

I am trying to achieve URL redirection i want to know different possibilities to achieve this.
Scenario: I have created sharepoint web application(2013, host header site collection) with Annonymous access enabled and NTLM(windows authentication enabled--- Both are enabled). I have bind this site to certificate also and its working as expected if i browse the site with https://test.com
but if i just browse the site with http://test.com its asking me for user name and password. This i want to avoid even if i try to access http my requirement is it should redirect to https.
I have entered username and password and returns 200 http status.
I know there are options we can achieve this
1) IIS redirect
2) Through custom code snippet (C#/Javascript)
But apart from this is there any way we can achieve this like load balance or DNS etc
Your guidence will be really help full.
Regards
Sri
I think you can achieve this by addin an AAM (Alternate Access Mapping) setting in a sharepoint site.
Try to convert an Https request to the http in that. I haven't tried it myself so I am not sure if this will work or not, but there are some examples of a reverse which you want.
For your reference this is a link to make it for http to https
https://sharepoint.stackexchange.com/questions/64484/http-to-https-redirection-using-aam
Let me know the outcome.

Issue in setting redirect URL in OneDrive application

I have Integrated OneDrive with my web application, on my local machine
for testing I had used http://localhost:123/Web/xyz in redirect URL on Application Registration Portal and it worked fine, but now I have deployed ny application on local server for further testing before going live and wanted to update Redirect URL to http://abc-xyz:81/Web/example and it gives error "Your URL can't contain a query string or invalid special characters."
how can I fix this issue
That error message is unfortunate. The error here is likely that redirect URLs for non-localhost servers need to be HTTPS and it looks like you are using an HTTP URL.
They have restriction about setting new redirect urls, it must be either
match the DNS name of the existing
sub domain of exiting
see https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-limitations#restrictions-on-redirect-uris for more details

Google APIs credentials - Authorized redirect URIs

My god. need help on this. Can anybody tell me why is that Google does not allow public IP address for 'Authorized redirect URIs'?
"Cannot be a public IP address"
You can give your project url for authorization url.

DNS URLs in Azure AD B2C don't work

The app only accepts localhost URLs, and anything else will give an error and refuses to save the app.
This issue makes the app only works when trying it on the hosting machine, but not on any other device.
You need to enter a HTTPS url, otherwise you will see this error: "Please enter a valid Url string"
You are allowed to use 1 domain name and localhost.
This will work:
https://my.dummy.site
https://localhost
This will not work:
https://my.dummy.site
https://my.other.domain
https://localhost
In this last example the error being displayed is: "You may not use more than 1 external domain(s)"