Can I form a direct URL to a particular Google account for which Gmail is disabled? - query-string

This existing question https://webapps.stackexchange.com/questions/18959/can-i-form-a-direct-url-to-a-particular-gmail-account is close to what I need, except that I don't want to go into Gmail since email is disabled for the institutional account I am using. I want to log into some Google App - ideally Google Classroom, second choice Google Drive - but I'll take any alternative to Gmail if it shows it can be done (sorry I don't have a full list of enabled Apps for my institutional account).
This suggestion from Eivind Eklund works when Gmail is available
https://accounts.google.com/ServiceLogin?service=mail&passive=true&Email=example#domain.com&continue=https://mail.google.com/mail/u/example#domain.com/
by which I mean it gets me into my Gmail with my personal account, and with my institutional account I get "We are sorry, but you do not have access to Email. Please contact your Organisation Administrator for access."
So, is there a URL that I can pre-populate with an account to get into a service other than Gmail? I thought perhaps if I changed service=mail to service=drive, and Email= to Account= then it might work, but this produces "The requested URL was not found on this server. That’s all we know." I could be guessing all day - I can find no documentation of what the alternative parameters might be. Can it be done?

D'oh! My colleague suggested "well let's give service=classroom a try". We then went into a particular class and copied the query string, so we can now generate direct URLs for each student (who likely won't know their ID) per class
https://accounts.google.com/ServiceLogin?service=classroom&passive=true&Email=MY_INSTITUTIONAL_ID&continue=https://classroom.google.com/c/Mzk3MTAzNzk2MDVa

Related

Getting r_fullprofile access to the Linkedin API

I am currently using a linkedin API with r_lightprofile in my application.
Two months ago, I sent a request for access to r_fullprofile using the Partner Program form.
https://business.linkedin.com/marketing-solutions/contact-us
http://prntscr.com/opfnpd
I also sent a request to the Marketing Developer Platform, but the request is still pending (http://prntscr.com/opfvfx)
After all this, I got an email with a form to fill out information about the company.
But after filling out the form, I did not receive an answer that the company is suitable or not suitable for full access.
1) How long does it usually take to get access?
2) Does the linkedin API have support? Email, Live chat or something else?
3) Have I done everything for access? Maybe I missed something?
4) Does Linkedin send an email in case of failure?
It's been a long way for me too, I'll give you some random tips:
Make sure your app is connected to a LinkedIn company page and that the status is Verified. To do this, from the app dashboard, add to the Team members an administrator of the LinkedIn company page (as Admin member) and let him access the app dashboard. He should be able to see a Verify button to confirm the authenticity of the app.
The only support that was really helpful to me was Zendesk.

Avoid login prompt for Company data with Consumer Partner?

We are trying to show the company updates done for our company on LinkedIn in the companies intranet. After visiting the developer site, we are able to create the token and pull the required information. The challenge is with the login prompt that would come up on the intranet home page. We want to avoid it.
This post mentions we need a token (that we have) and also user should be logged in to LinkedIn. So we guess it is a limitation.
However, the developer site mentions about 'partnership with Linkedin' and says if you become a consumer partner following is possible. It says you have higher functionality and thresholds.
"Create personalized and engaging user experiences for your audience by combining LinkedIn data and functionality into custom websites and mobile applications"
We tried reaching to Linked Developer Support with no response from them. Can anyone here confirm if we can Avoid login prompt for Company data with Consumer Partner?

Verfiy user is who they say they are on an external website

I am developing a website for our GTA Online Crew, basically a gaming community, my issue lies in verifying that they are the user they say they are when they register (For example if there username on social club is GTOFAN01, we want to ensure that person uses the same username on our site when they register).
As we want all website users to have the same names from social club (owned by Rockstar and I have no way to change anything on there end...) to our website to avoid confusion / posers / trolls etc.
I've had a few ideas but they all create a lot of manual work or I am not sure how to implement, but I have narrowed it down...
Let anyone register and then manually send them a confirmation code through social club to the account name they have said they are.
somehow find out who they are currently logged in as on social club, if this matches the name they supplied then let them in.
find someway to send a message to there social club message box
2 is by far the best, but I can figure out a way to achieve it... I cannot read cookies or session variables from another domain.
Any ideas?
There are several different ways of achieving "federated identity". I would recommend taking a look at OAuth and OpenId. Asp.net Identity has OAuth integration.
See also:
OpenID vs. OAuth
What's the difference between OpenID and OAuth?
The way I ended up going was generating a random qoute for the user to post on the social club (checking it didn't exist first), as the social club feed is public I can then check to see if the qoute was posted and by whom, if this matches who they told us they were then there registration is accepted.
Obviously this is not the greatest solution, but it works and as I've stated I have no control over the social club nor do they offer any way to authenticate a user.
The other befit to this method is it encourages use of the feed which we also wanted to do.

Single sign on Google

How does the Google single sign on works (OR any website's SSO)?
For example, once I login to the Gmail, it lets me see "My places" on Google Maps without signing in again? Same with Yahoo mail and Yahoo notepad.
I am guessing this checking is done locally within the browser. But any more details would be appreciated.
It is done with a cookie, that is accessible to all sub-sites on google, and it contains identification numbers. Then the sub-site queries the account server, gives the cookie, and the account server will return the user.
Actual implementation details may vary (as I am not a Google engineer), but I think you want to know how to do it, not what google does.

Google Analytics API: Include profile domain in Profile Feed

Using the Google Analytics API I would like to display the domain associated with each GA profile. Is this possible or is there another way to do it? I have been unable to find any documentation for the domain.
http://code.google.com/apis/analytics/docs/gdata/gdataReferenceAccountFeed.html#accountResponse
http://code.google.com/apis/analytics/docs/mgmt/mgmtFeedReference.html#profileFeed
I can't use profileName because depending on how the user has their GA account setup, it may just be a string and not a domain.
One thing you might do is perform a query using ga:hostnames as the dimension and either ga:visits or ga:pageviews as metrics. This will yield a chart of the host name (what is in the browser address bar) to reach that site. Sort of a hack in a way. Technically you can use a single GA Tracking code on multiple sites. So there is no "Official" domain name associated with a profile.
Unfortunately, I don't think it's possible with the current API. Furthermore, you can't explicitly depend upon the domain they enter as the only domain the profile is tracking since there is further customization that allows the user to specify if they want to track subdomains and/or top-level domains. I believe your only option is to ask the user the same information Google asks the user and help the user understand they will have to manually keep two lists in sync due to limitations of the Google API.

Resources