n8n-atlassian-oauth-credentials
v1.0.0
Published
Atlassian OAuth2 credentials for n8n
Maintainers
Readme
Atlassian OAuth2 Credentials for n8n
This package provides OAuth2 authentication for Atlassian services (Jira, Confluence, etc.) in n8n workflows.
Features
- OAuth2 Authorization Code flow implementation
- Support for Atlassian Cloud services
- Automatic token refresh
- Comprehensive scope support for Jira operations
Setup
Create an Atlassian OAuth2 App:
- Go to Atlassian Developer Console
- Create a new OAuth 2.0 (3LO) app
- Note your Client ID and Client Secret
- Set the redirect URL to your n8n instance:
https://your-n8n-instance.com/rest/oauth2-credential/callback
Install the credential:
- Copy
AtlassianOAuth2Api.credentials.tsto your n8n custom credentials directory - Restart n8n
- Copy
Configure the credential:
- In n8n, create a new credential of type "Atlassian OAuth2 API"
- Enter your Client ID and Client Secret
- Click "Connect my account" to authorize
Scopes
The credential includes these scopes by default:
read:jira-user- Read user informationread:jira-work- Read Jira issues and projectswrite:jira-work- Create and update Jira issuesmanage:jira-project- Manage Jira projectsmanage:jira-configuration- Manage Jira configuration
Usage
Once configured, use this credential with HTTP Request nodes to call Atlassian APIs:
GET https://api.atlassian.com/oauth/token/accessible-resources
GET https://api.atlassian.com/ex/jira/{cloudId}/rest/api/3/myselfTroubleshooting
- Ensure your redirect URL matches exactly what's configured in Atlassian
- Check that all required scopes are granted during authorization
- Verify your Atlassian app has the necessary permissions
