20 votes

Google Drive API connection: (or how can I build a service connection to an OAuth2 service?)

Code See this for the main issue that made it take so long to get this up If you just want the service connection you can get it like this: ...
user avatar
  • 45.6k
8 votes

Accessing the Twitter API using Mathematica 11

Update Here's a cleaner rewrite of my original: First authenticate: $so = ServiceConnect["Twitter", "New"]; Then extract: ...
user avatar
  • 45.6k
7 votes
Accepted

Encrypt the password used for SendMail

In general SendMail should not access an email account that stores important emails or that functions to reset the passwords of other online accounts. Such a valuable email account should be protected ...
user avatar
6 votes
Accepted

Generating Google BigQuery API Access Token in Wolfram Language

Google Cloud Platform uses the RS256 algorithm to send JWT and retrieve the tokens, all that is needed is to make a function that builds the JWT and creates a signature using ...
user avatar
  • 138
6 votes

Export to Google Spreadsheet with OAuthAuthentication

You can also do this through the ServiceConnect framework. I detailed how to build one of these connections here and how to do it for Google Drive here To start, ...
user avatar
  • 45.6k
5 votes
Accepted

ResourceData[] - ResourceAcquire: This request requires authentication

Before running the commands, one needs to sign into the cloud using one's WolframID credentials, CloudConnect[userid, pwd] Userid and/or pwd can be left if you ...
user avatar
  • 917
5 votes

Reading Google Docs using the Google API

Here's how I decided to include this in my service connections. First, I tweaked my template to search out one of these files in my paclet or the "ApplicationData"...
user avatar
  • 45.6k
4 votes
Accepted

Want to convert a string to a SHA512 Base64 value

...
user avatar
  • 8,668
4 votes

Can anyone explain how to use Mathematica's OAuth package?

In version 11 of Mathematica, I have used this (it's almost the same as Max's answer): ...
user avatar
4 votes

Using OAuthClient to extend ServiceConnect service that requires authentication and POST

Here's an elaboration on my suggestion. More information on why I'm doing what I'm doing is here: Creating a custom web API ServiceConnection First open the paclet: ...
user avatar
  • 45.6k
3 votes

Need to generate a Hmac SHA512 string that is 88 characters long rather than 128

Ahh, I figured it out! Thanks for your help, and thanks to the person who helped me with my last question (Want to convert a string to a SHA512 Base64 value), cause that also helped me find the ...
user avatar
  • 436
3 votes

Want to convert a string to a SHA512 Base64 value

This is much easier to do as of the recently released version 11.3.0: ...
user avatar
  • 25.1k
3 votes
Accepted

Using Mathematica how can I simulate the MD5 or SHA encryption of a userid and password performed by htpasswd on Apache?

According to this, the MD5 scheme uses "an Apache-specific algorithm using an iterated (1,000 times) MD5 digest of various combinations of a random 32-bit salt and the password. See the APR source ...
user avatar
  • 25.1k
2 votes

How to import a google sheets file that requires account login?

I had a similar problem trying to open a google sheet file shared with me. By selecting "SHARE" in google Drive and share the file for "Anyone with the link." Then Import["...
user avatar
1 vote

HMAC SHA256 implementation in Mathematica 11.3

Thanks for your reply. Indeed, the function hmacFnew[] from that answers works perfectly on Mathematica v11.3- confirmed and tested. ...
user avatar
  • 111
1 vote

Authentication dialog triggered by URLExecute in Wolfram player does not allow me to type in username/password

The answer is in their FAQ: https://www.wolfram.com/cdf/faq/ Why can't I edit text in CDF Player? CDF Player is intended as a deployment option. If you want to edit or create applications or ...
user avatar
  • 1,661

Only top scored, non community-wiki answers of a minimum length are eligible