1 5. Odds and Ends
Ben Olden-Cooligan edited this page 2023-09-05 15:36:19 -07:00

Oauth2 Client Credentials

Gmail and Outlook Web Access integration (for the "Email PDF" button) require client credentials to be set up for each service. If you want to include support in a custom build you will need to get your own set of credentials.

Google

Create a file named NAPS2.Lib\google.credentials.json that you get from the Google Api Console (help).

Microsoft

Create a file named NAPS2.Lib\microsoft.credentials.json and set "client_id" and "client_secret" from the Microsoft Application Portal (generate a password for "client_secret").

You will also need to set up web redirect URIs to http://127.0.0.1:50320/ as well as for ports 49319, 58985, 53893, 50086.