GAM-2-DOMAINS -oauth



GAM 4.65 with multiple domains howto //// https://oauth.net/ OAuth 2.0 RFC 6749


https://github.com/jay0lee/GAM/issues/69

Is it possible to set this up to work with and authenticate with multiple domains? I am a super admin in two different domains,

and would love to be able to use this in both domain systems without having to switch users on my computer.



You could just use different OAUTH files, whole lot easier than multiple

installs - I manage several Google Apps instance from the single GAM

installation


2 domains


https://github.com/jay0lee/GAM/wiki/OAuthKeyManagement#selecting-which-oauth-key-file-to-use


Graham Ingleby | Cloud Computing Consultant | 01344 203395 |

gingleby@ancoris.com

[image: Google+] http://google.com/+Ancoris

http://www.linkedin.com/company/98835 http://www.ancoris.com


On 12 June 2015 at 07:35, Robby Barnes notifications@github.com wrote:


Perfect. I will give something like this a try. Thank you.


______________________

https://github.com/jay0lee/GAM/wiki/OAuthKeyManagement#selecting-which-oauth-key-file-to-use


----------------------------------------------------------

Example

This DOS shell example switches between OAuth files for multi GAM runs.


set OAUTHFILE=oauth.txt-mydomain.com

gam info domain


G Suite Domain: mydomain.com

Default Language: en

Organization Name: My Domain

Maximum Users: 15

...


set OAUTHFILE=oauth.txt-mypalsdomain.com

gam info domain


G Suite Domain: mypalsdomain.com

Default Language: en

Organization Name: My Pal's Domain

Maximum Users: 5

---------------------------------------------------------


gam oauth info


gam oauth revoke