question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ACTION] Update Linear OAuth components

See original GitHub issue

We should add an optional prop to the Update Issue and Create Issue actions for the Linear OAuth app (slug = linear):

From their docs: https://developers.linear.app/docs/oauth/oauth-actor-authorization

To set the custom user name, set the createAsUser attribute with the user name and set displayIconUrl with the URL of the avatar in issueCreate or commentCreate mutations

We’ll add the additional param to the authorization URL when these component changes are ready.

New optional prop:

  • “Create As User” (default to true)
  • If Create As User is true, set createAsUser to the user’s displayName and displayIconUrl as avatarUrl (if not null). These can both be found by querying the user object (example below).
  • If Create As User is false, then show 2 additionalProps:
  1. Username (type string)
  2. Display Icon URL (type string)
{ 
    user(id: "me") {
      displayName
      avatarUrl
    }
  }

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
dannyrooseveltcommented, Nov 30, 2022

@GTFalcao I do not currently have the actor=application param on my auth provision, so I think I should get a ConfigurationError when I set createAs to either Pipedream or Custom Username, right?

Instead, I get the ConfigurationError when choosing me. And if I select Pipedream, it actually doesn’t create as Pipedream: Screenshot by Dropbox Capture Screenshot by Dropbox Capture

1reaction
dannyrooseveltcommented, Nov 23, 2022

Confirming what we discussed over Slack:

  1. Instead of createAsUser as a boolean prop, we’ll update to have 3 options (“Pipedream”, “Signed-in user”, “Custom user”), with additionalProps for “Custom user”
  2. I misread their docs, and this only applies to the Create Issue action (not update)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Update Issue with Linear (OAuth) API on New or Updated Lead ...
This integration creates a workflow with a Zoho CRM trigger and Linear (OAuth) action. When you configure and deploy the workflow, it will...
Read more >
Linear Integration - Retool Docs
Retool verifies OAuth authentication by checking if anything other than a 20x code is returned. Unfortunately, Linear will always return a 20x code...
Read more >
Changelog – Linear
New updates and improvements to Linear. ... Added a new command line action to open the keyboard shortcut cheat sheet; It's now possible...
Read more >
Important changes (deprecations) coming in Power Apps and ...
Users will need to review their existing flows to update them to the new actions and triggers. Microsoft Dataverse (legacy) connector (CDS 2.0 ......
Read more >
Linear - Docs
Select Enable Production Credentials in the Connector Configuration and note the OAuth Redirect URL under the 'Linear Configuration' section. You will need this ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found