--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/a44e8ed2-cda2-4eb1-9ce9-f09b0d84e9b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ
That would work, I use "set oauthfile=domain.com.txt" just so it is a text file and Windows doesnt think it is a COMMAND file, but apart from that it works great.run the set command, then create the oauth file and you are good to go
On 15 January 2016 at 02:56, Nate Ferrell <nathanie...@pnmac.com> wrote:
Hey guys,What would be the best way to create a new OAUTH.txt file to be able to use with the same client secrets?Thinking along the lines of creating "oauth2.txt-domain1.com", "oauth2.txt-domain2.com", etc, to be able to switch between OAUTH's using the "set OAUTHFILE=oauth2.txt-domain1.com" command, for example.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/a44e8ed2-cda2-4eb1-9ce9-f09b0d84e9b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
set OAUTHFILE="filename.txt"
$env:OAUTHFILE="filename.txt"
$env:OAUTHFILE="filename.txt"
[Environment]::SetEnvironmentVariable("OAUTHFILE", "filename.txt", "User")
- OAUTHFILE is the name of variable (do not change this as this is what GAM references by variable name)
- "filename.txt" is the filename of your desired default oauthfile
- "User" is the scope of the environmental variable (this can be set to either "User", "Machine", or "Process", but you're best leaving as User I believe)
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/339a4e8e-7690-4dee-8e69-0d2f0e423eb4%40googlegroups.com.
Awesome!So, just to sanity check: You set the environmental oauthfile variable to a new text name, then simply run through the API selection process and reauth to a new domain instead, which writes the info to the txt file designated when setting the oauthfile variable? Then you simple set the oauthfile variable to the filename that you want to use from that point?
On Friday, January 15, 2016 at 3:51:57 AM UTC-8, Graham Ingleby wrote:
That would work, I use "set oauthfile=domain.com.txt" just so it is a text file and Windows doesnt think it is a COMMAND file, but apart from that it works great.run the set command, then create the oauth file and you are good to go
On 15 January 2016 at 02:56, Nate Ferrell <nathanie...@pnmac.com> wrote:
Hey guys,What would be the best way to create a new OAUTH.txt file to be able to use with the same client secrets?Thinking along the lines of creating "oauth2.txt-domain1.com", "oauth2.txt-domain2.com", etc, to be able to switch between OAUTH's using the "set OAUTHFILE=oauth2.txt-domain1.com" command, for example.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/a44e8ed2-cda2-4eb1-9ce9-f09b0d84e9b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/0f539bf0-7834-477a-ad35-c3f86c65d875%40googlegroups.com.