-
Notifications
You must be signed in to change notification settings - Fork 33
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
Support for Web Sever access ? #27
Comments
Hi. I made this package to simply create an app and not manage authorizations after. I didn't check other packages but you can modify this. And if you want you make a PR after. |
Hi thujohn ,we did modify the package to use web server authorisation. But we assume the refresh token is set in advance. It is not in a state for a PR unfortunately. But if someone wants some pointers I can help. |
Hello crisp, im very interested on your approach. Mind sharing your how did you achieve it? Thanks |
Hi, sure. We modified AnalyticsServiceProvider.php In our set we use a patch to modify the file in the vendor directory. Just modify the register() method for how $client is created. The main bit of code is:
You can see we added a class variable $credentials and set that in the register function by pulling the credentials form our DB. You could hardcode the value there to get started. |
Thanks for the help! The code snippet you provided is enough to get me started. Thanks again really appreciate it. |
Hi,
We got the package working with a Service Account but would like to use the Web Server authorisation to avoid needing to add the service email to each account. Any suggestions ?
I'm wondering if we modify this package or should be looking for a different package ?
Cheers!
The text was updated successfully, but these errors were encountered: