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: ...
b3m2a1's user avatar
  • 46.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: ...
b3m2a1's user avatar
  • 46.6k
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 ...
Cabral's 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, ...
b3m2a1's user avatar
  • 46.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 ...
a20's user avatar
  • 927
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"...
b3m2a1's user avatar
  • 46.6k
4 votes
Accepted

Want to convert a string to a SHA512 Base64 value

...
eyorble's user avatar
  • 9,343
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): ...
Peter Stuifzand's 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: ...
b3m2a1's user avatar
  • 46.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 ...
user12572's 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: ...
ilian's user avatar
  • 25.5k
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 ...
ilian's user avatar
  • 25.5k
3 votes

Implementing Web Form to collect data but users must authenticate first

It is possible to modify the permissions to ask a password before accessing to a Form. ...
JuanG970's user avatar
  • 456
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["...
Stephen Wilkus's 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. ...
Oleg's 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 ...
SEngstrom's user avatar
  • 1,711

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