Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using token in auto scaling group #40

Open
jbhagilishealth opened this issue Apr 29, 2022 · 2 comments
Open

Using token in auto scaling group #40

jbhagilishealth opened this issue Apr 29, 2022 · 2 comments

Comments

@jbhagilishealth
Copy link

jbhagilishealth commented Apr 29, 2022

Hi

I am wondering if any one can point me in the right direction.

We are adding in an auto scaling group using AWS, but need to make sure the token can be used across multiple servers or on any new server that are spun up automatically.

If the token is stored in a central repo or a central location, will the token work on different instances?

@rogerio-pereira
Copy link

rogerio-pereira commented May 9, 2022

I'm facing a similar problem. Reading your ticket maybe leaded me to right track
I'll test and let you know

@rogerio-pereira
Copy link

rogerio-pereira commented May 9, 2022

@jbhagilishealth
Hey man, I`m back. Thanks a lot you cleared my vision, pointed me a direction and i was able to do it.

If anyone needs help on that

Step 1
Before installing the package. Make sure all you .env files has the same record for
APP_KEY=
This is important, if you have different APP_KEY in your instances you'll receive a error
unserialize(): Error at offset

Step 2
do the regular installation in your first instance

Step 3
Copy the zcrm_oauthtokens.txt to same path in other instances
<application_folder>/storage/apps/zoho/oauth/tokens/zcrm_oauthtokens.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants