Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Conversation

@alephyud
Copy link
Contributor

@alephyud alephyud commented Apr 1, 2019

Adds an option to send a realm="..." parameter in the Authentication header, for example:

function getService() {
    return OAuth1.createService("NetSuite")
        .setRealm('1234567_SB1')
        .setConsumerKey(CONSUMER_KEY)
        .setConsumerSecret(CONSUMER_SECRET)
        .setAccessToken(TOKEN, TOKEN_SECRET);
}

Adds an option to send a `realm="..."` parameter in the Authentication
headers, for example:

```
function getService() {
    return OAuth1.createService("NetSuite")
        .setRealm('1234567_SB1')
        .setConsumerKey(CONSUMER_KEY)
        .setConsumerSecret(CONSUMER_SECRET)
        .setAccessToken(TOKEN, TOKEN_SECRET);
}
```
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

Copy link

@erickoledadevrel erickoledadevrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! A few small comments, and also please accept the CLA.

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@erickoledadevrel
Copy link

Thanks against for the contribution!

@erickoledadevrel erickoledadevrel merged commit 0c1aaa8 into googleworkspace:master Apr 3, 2019
@pietrocasella
Copy link

Hi @erickoledadevrel @alephyud is this deployed yet? I'm getting a "Cannot find function setRealm in object when referencing version 16 in App Maker. Thanks

@erickoledadevrel
Copy link

Just released version 17, which includes this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants