Dave/workspace/Google login urls: Difference between revisions
(More) |
No edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The following is a survey of Google login urls (because I couldn't find it documented). I'm trying to find the best way to point people to a particular service with a particular account, minimizing possible |
The following is a survey of Google login urls (because I couldn't find it documented). I'm trying to find the best way to point people to a particular service with a particular account, minimizing possible multi-account confusion. |
||
There is no one answer, but here are some recommendations: |
|||
The following accepts a '''"continue" parameter''', a Google service url to redirect to. |
|||
* <code><nowiki>https://</nowiki>drive.google.com/a/<var>domain</var></code> |
|||
* <code><nowiki>https://</nowiki>accounts.google.com/AccountChooser?continue=<var>targetURL</var></code> |
|||
==accounts.gooogle.com== |
|||
{| class="wikitable" |
{| class="wikitable" |
||
|+ Google (not apps) |
|+ Google (not apps) |
||
! rowspan=" |
! rowspan="2" | url |
||
! colspan=" |
! colspan="3" | Accounts logged in |
||
! rowspan=" |
! rowspan="2" | notes |
||
|- |
|- |
||
! none !! |
! none !! one !! both |
||
|- |
|- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| Password prompt, for account logged in longest |
|||
⚫ | |||
|- |
|- |
||
| https://accounts.google.com/AccountChooser |
|||
⚫ | |||
| standard blank login || other account password prompt with option to "Sign in with a different account" |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|- |
||
| https://accounts.google.com/AddSession |
|||
⚫ | |||
| Forwards to "ServiceLogin" |
|||
| standard blank login |
|||
| standard blank login |
|||
| Target of "Add account" option on standard "AccountChooser" page |
|||
|} |
|||
To '''go to a particular Google service after loggin in''', just add the "continue" parameter with a url encoded target url. |
|||
==Google Apps== |
|||
Can we gain usability be using Google App urls? Google App urls are often Google service urls with "<code>/a/<var>domain</var></code>" after the domain (e.g. <code><nowiki>https://</nowiki>drive.google.com/a/example.org</code>). What's a survey of those look like? |
|||
{| class="wikitable" |
|||
|+ Google Apps |
|||
! rowspan="2" | url |
|||
! colspan="3" | Accounts logged in |
|||
|- |
|- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|- |
||
| <nowiki>https://</nowiki>www.google.com/a/<var>domain</var>/ServiceLogin |
|||
⚫ | |||
| Domain login |
|||
| Domain login |
|||
| Standard password prompt prepopulated with domain account (forwards to <code><nowiki>https://</nowiki>accounts.google.com/ServiceLogin?authuser=<var>sessionNumber</var></code>) |
|||
|- |
|- |
||
| |
| <nowiki>https://</nowiki>www.google.com/a/<var>domain</var>/AccountChooser |
||
| Regular login |
|||
⚫ | |||
| |
| Regular AccountChooser |
||
Choosing a non-domain account does nothing (returns to original AccountChooser unchanged). |
|||
Choosing "Add account" forwards to AddSession |
|||
| Forwards to Admin for domain (UserHub) |
|||
|- |
|- |
||
| <nowiki>https://</nowiki>www.google.com/a/<var>domain</var>/AddSession |
|||
⚫ | |||
| Regular login |
|||
| Regular AccountChooser |
|||
Choosing a non-domain account does nothing (returns to original AccountChooser unchanged). |
|||
Choosing "Add account" forwards to AddSession |
|||
| Forwards to Admin for domain (UserHub) |
|||
|- |
|||
| <nowiki>https://</nowiki>admin.google.com/a/<var>domain</var> |
|||
| Regular login |
|||
| Regular AccountChooser |
|||
| Admin for domain |
|||
|- |
|||
| <nowiki>https://</nowiki>drive.google.com/a/<var>domain</var> |
|||
| Domain login |
|||
| Old style account chooser (<code><nowiki>https://</nowiki>www.google.com/a/SelectSession</code>) |
|||
| Drive for domain |
|||
|- |
|||
| <nowiki>https://</nowiki>groups.google.com/a/<var>domain</var> |
|||
| Groups for domain (though not branded) |
|||
| Groups for domain |
|||
| Groups for domain, but with practically random account |
|||
|} |
|} |
||
The following don't work: |
|||
* www and naked forward to admin |
|||
* accounts forwards to Apps marketing page |
Latest revision as of 01:36, 27 January 2014
The following is a survey of Google login urls (because I couldn't find it documented). I'm trying to find the best way to point people to a particular service with a particular account, minimizing possible multi-account confusion.
There is no one answer, but here are some recommendations:
https://drive.google.com/a/domain
https://accounts.google.com/AccountChooser?continue=targetURL
accounts.gooogle.com[edit]
url | Accounts logged in | notes | ||
---|---|---|---|---|
none | one | both | ||
https://accounts.google.com/ServiceLogin | standard blank login | Password prompt (with option to "Sign in with a different account") | Password prompt, for account logged in longest | From any Google service, is the url forwarded to or provided by the "Sign in" button. |
https://accounts.google.com/AccountChooser | Forwards to "ServiceLogin" | "Choose an account" dialog, with account listed and "Add account" option | "Choose an account" dialog, with accounts listed and "Add account" option | Target of standard login page "Sign in with a different account" option |
https://accounts.google.com/AddSession | Forwards to "ServiceLogin" | standard blank login | standard blank login | Target of "Add account" option on standard "AccountChooser" page |
To go to a particular Google service after loggin in, just add the "continue" parameter with a url encoded target url.
Google Apps[edit]
Can we gain usability be using Google App urls? Google App urls are often Google service urls with "/a/domain
" after the domain (e.g. https://drive.google.com/a/example.org
). What's a survey of those look like?
url | Accounts logged in | ||
---|---|---|---|
none | other | both | |
https://www.google.com/a/domain/ServiceLogin | Domain login | Domain login | Standard password prompt prepopulated with domain account (forwards to https://accounts.google.com/ServiceLogin?authuser=sessionNumber )
|
https://www.google.com/a/domain/AccountChooser | Regular login | Regular AccountChooser
Choosing a non-domain account does nothing (returns to original AccountChooser unchanged). Choosing "Add account" forwards to AddSession |
Forwards to Admin for domain (UserHub) |
https://www.google.com/a/domain/AddSession | Regular login | Regular AccountChooser
Choosing a non-domain account does nothing (returns to original AccountChooser unchanged). Choosing "Add account" forwards to AddSession |
Forwards to Admin for domain (UserHub) |
https://admin.google.com/a/domain | Regular login | Regular AccountChooser | Admin for domain |
https://drive.google.com/a/domain | Domain login | Old style account chooser (https://www.google.com/a/SelectSession )
|
Drive for domain |
https://groups.google.com/a/domain | Groups for domain (though not branded) | Groups for domain | Groups for domain, but with practically random account |
The following don't work:
- www and naked forward to admin
- accounts forwards to Apps marketing page