Skip to content

Commit

Permalink
docs(provider): Update Atlassian docs (#1255)
Browse files Browse the repository at this point in the history
* docs: Update Atlassian docs [skip release]

* Update atlassian.md
  • Loading branch information
iaincollins committed Feb 4, 2021
1 parent afb5082 commit c7f1923
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions www/docs/providers/atlassian.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-g

## Example

For Jira Platform API access:

```js
import Providers from `next-auth/providers`
...
providers: [
Providers.Atlassian({
clientId: process.env.ATLASSIAN_CLIENT_ID,
clientSecret: process.env.ATLASSIAN_CLIENT_SECRET,
scope:
'write:jira-work read:jira-work read:jira-user offline_access read:me',
scope: 'write:jira-work read:jira-work read:jira-user offline_access read:me'
})
]
...
Expand All @@ -33,7 +30,7 @@ providers: [
An app can be created at https://developer.atlassian.com/apps/
:::

Under "Apis and features" side menu, configure the following for the "OAuth 2.0 (3LO)"
Under "Apis and features" in the side menu, configure the following for "OAuth 2.0 (3LO)":

- Redirect URL
- http://localhost:3000/api/auth/callback/atlassian
Expand Down

0 comments on commit c7f1923

Please sign in to comment.