Retrieve all domains information Google Apps - google-app-engine

I would like to retrieve all domain information that are added to Domains section in Admin panel.
In short I require an API that returns the info. displayed here : https://admin.google.com/AdminHome?fral=1#Domains:
I've already gone thru Admin SDK's Directory API as well as Admin Settings API but I don't find anything there.
I have been searching for long but I don't fine anything useful. There are 2 questions in stackoverflow as well but that doesn't answer.

I don't believe this information is available today via the APIs in the Admin SDK.

Related

How to add a Client App to another GSuite Company?

I've developed an application that works through Google's GSuite using OAuth2. The app is working fine and is part of the GSuite account that was set up to allow testing while developing it (which is the owning account of the app in the Developer Console). However, I now want to give the app to another GSuite company but can't see how to get them to add it?
The application has been submitted for review with Google to get it added via the Marketplace but we're keen to get the second company using it ASAP. I've had a look through the Google docs but couldn't find anything that appeared relevant and even tried to see if I could find an existing question on here. If anyone can point me in the right direction that would be much appreciated!
Cheers
You won't be able to give it to another company until it's published, so if the review is taking linger than expected, your best is to contact Google GSuite support

How do I use my Google App with my a custom domain?

I've looked at previous questions enter link description here, but they use the GSuite Administrator to make changes, while my app uses GCloud. The domain registrar is separate since Google domains don't work in my country.
I mainly followed this guide to setting up my Zones and updating the name servers. I've configured the
https://cloud.google.com/dns/docs/update-name-servers
The question I linked to earlier recommended setting up a www. subdomain, but it used Authenticator. I'm not sure how to do this in a zone. I set up all the records properly in my domain registrar.
Here are the settings:
When I load the site itself (There's no actual HTTP response code):
And when I try the www. subdomain
I'm sure there's a step I'm missing, but this is my first site with GCloud. So I'm not very familiar with the process.
I think where is your missing step.
When you ask Google to use your domain, Google will expose HTTPS endpoint. HTTPS requires a certificate, and Google will generate it for you. However, before doing this, Google has to be sure that the domain belong to you.
You have to prove to google that you own your domain. For this, go to this page, log in and add a property (your website URL). Follow the instruction and be sure that your property has been validated.
Then, wait some minutes (hours?) the time that the certificates are generated and deployed.

Adding custom domain to google app engine

I am a newbie to google compute engine, I looked at various tutorials and could add a custom domain to app engine. I added a sub domain as advised in the tutorial http://demo.appostrophi.com/ [http://demo.appostrophi.com/][1]. I want my URL to be www.appostrophi.com/ but it's showing a blank screen. What could I have possibly done wrong.
I have added the resource names as suggested by google with my domain registrar.
Please advice.
Thanks in advance
Your DNS registration appears incorrect (or didn't yet have time to propagate properly):
Firefox can’t find the server at www.appostrophi.com.
and
Firefox can’t find the server at appostrophi.com.
The document you mentioned is not the proper procedure to register a domain and/or a subdomain to a GAE app. See Adding a custom domain for your application.

google appspot application on custom domain? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Google Appengine & google Apps - mapping www.mydomain.com to my-app-id.appspot.com
I already own a custom domain for example www.onlinecourse.com, and I already have an application running on google infrastructure or google app engine with www.onlinecourse.appspot.com (just for example).
What I want is when user try to access www.onlinecourse.com, my application that is running at www.onlinecourse.appspot.com should open up without URL redirection.
I was completely fooled by this statement from google app engine.
"You can serve your app from your own domain name (such as http://www.example.com/) using Google Apps. Or, you can serve your app using a free name on the appspot.com domain. You can share your application with the world, or limit access to members of your organization."
I thought www.onlinecourse.com would completely replaces the www.onlinecourse.appspot.com
To just add a custom domain, just follow the instructions here:
http://code.google.com/appengine/articles/domains.html
And once that works, you can put a check in your code to forward anyone landing on the appspot.com domain to your domain: (example in python)
def get(self):
if self.request.host.endswith('appspot.com'):
return self.redirect('www.jaavuu.com', True)
# ... your code ...
The answer to this question should be just this url
http://code.google.com/appengine/articles/domains.html
which Amir has already pointed out.
But let me add some stuff. Firstly this is not a programming question. Second, nonetheless here's my answer.
Google uses Google Apps to manage its domains. Google Apps is something companies sign up for when they want to use gmail on mail#companydomain.com. Using Google Apps just for domain name mapping is a bit redundant, especially if you don't want any of the other stuff. But since you can disable the email, chat and other stuff, and since it is free, there is no reason , why you shouldn't sign up for Google Apps. First goto. http://www.google.com/a and sign up for the standard edition of google apps. Use a cname/meta tag/html file to verify your domain name. Once you have done that, you can add the domain name you want to use for your appspot hosted GAE app(eg. if you own the domain mydomain.com, you should map www.mydomain.com). You can redirect mydomain.com to www.domain.com using one of the n number of 301 redirect methods. I hear Google provides some IPs you can point your A names to.
Tutorial link:
http://aralbalkan.com/1466
In the tutorial, Mr. Balkan uses dynds as an example, which might not do the thing for you(it's not free). As I said before, your registrar might have enough DNS options. Else you can go for something like http://geoscaling.com (free 10 domains). The rest of the stuff should be the same.
(I guess you already have something to manage your DNS, for eg, Your domain name registrar generally gives you some amount of DNS control. Go into your domain's DNS settings and change the CNAME when required. If you can ftp to your domain's hosting, you will be able to use the meta tag or html file option to verify your domain. There are plenty of tutorials for Google Apps out there. If you are unsure, post a comment and I will expand the post)
After you are through, your www.onlinecourses.com should be what the user sees.

OpenID for Google App Engine

I saw many links over the internet and specifically openid-consumer project (which is a part of http://code.google.com/p/google-app-engine-samples/), but it doesn't work as honestly readme file says.
So what's the latest update on that? Is there any way I can authenticate my web site users with OpenID from someone besides Google (like stackoverflow does)?
I have setup an example app here:
http://github.com/shripadk/authlogic_openid_selector_example
With the source code. It works exactly the way stackoverflow does. Have not implemented facebook auth as its buggy still.
I've just played a bit with the openid-consumer you mention and it actually works. Have you tried to run the sample code standalone, as a separate project?
I've used it in a test application on App Engine and it seems to work alright. I placed the consumer.py, fetcher.py, store.py and then the openid dir in the root dir, then I moved parts of the config in app.yaml from the openid sample app to my app.yaml.
You can check the implementation at http://x-libris.appspot.com. In the upper right corner press Logga in (which is swedish for login). Try using any of the available OpenId providers, so far OpenId, Google, MySpace and Yahoo! are available (I've only tested the first two providers).
It's an Ajax based solution so I did some tweaking of the render method in consumer.py in order to change the templating and the example at openid-demo.appspot.com was handy.
// John
I just noticed the new version of the app engine SDK now includes support for OpenID in the user API
The 1.3.4 release includes support for authentication via OpenID as an experimental feature.
look in the app engine python user API docs for more info about this
This should make this easy to implement (I will start implementing this today !)
try rpxnow.com , they provide multiple options including openid.

Resources