https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38338

--- Comment #28 from David Cook <[email protected]> ---
Ok, so I did a little sort of standalone proof-of-concept within
koha-testing-docker...

Steps: 
1. I created a /kohadevbox/koha/poc directory
2. Created a cpanfile with the following in that directory:
requires 'Authen::SASL', '2.1800';
requires 'Email::Sender', '2.600';
3. apt-get update
4. apt-get install carton
5. carton install

6. Created a test.pl script for sending the email using an OAuth2 access token
(which gets run like this PERL5LIB=./local/lib/perl5 perl test.pl)

7. Created a bootstrap script to help get the OAuth2 access token
(e.g. google_oauth_bootstrap.pl)

9. Sign into Gmail with a Google account
10. Go to https://console.cloud.google.com/apis/credentials
11. Click "Select a project"
12. Click "New project" (e.g. My Project X)
13. Click "Create credentials"
14. Click "OAuth client id"
15. Click "Configure consent screen"
16. Click "Get started"
17. Fill in Project configuration boxes
18. Create an OAuth2 client like "Desktop app" "Desktop client 1"
19. Copy the OAuth2 client id and client secret to the google_auth_bootstrap.pl
script

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to