# \#basic-auth

**URL:** https://community.developer.atlassian.com/tag/basic-auth/671.md

[Latest](https://community.developer.atlassian.com/latest.md) · [Categories](https://community.developer.atlassian.com/categories.md) · [Tags](https://community.developer.atlassian.com/tags.md)

---

## [Email and token all corect but can not authenticated](https://community.developer.atlassian.com/t/email-and-token-all-corect-but-can-not-authenticated/91924)

<div class="topic-metadata">

**Author:** [@S7Inc](https://community.developer.atlassian.com/u/S7Inc)\
**Replies:** 1\
**Last updated:** [May 13, 2025, 3:08am UTC](https://community.developer.atlassian.com/t/email-and-token-all-corect-but-can-not-authenticated/91924 "2025-05-13T03:08:30Z")

</div>

Test Results (based on logs): Jira API: :cross\_mark: Not connected (401 Unauthorized) Confluence API: :cross\_mark: Not connected (401 Unauthorized) Email and token length are correctly loaded from environment variable…

---

## [Basic authorization with API token stop working (using postman/.net app)](https://community.developer.atlassian.com/t/basic-authorization-with-api-token-stop-working-using-postman-net-app/83481)

<div class="topic-metadata">

**Author:** [@RadkaKaprkov](https://community.developer.atlassian.com/u/RadkaKaprkov)\
**Replies:** 3\
**Last updated:** [September 13, 2024, 5:21pm UTC](https://community.developer.atlassian.com/t/basic-authorization-with-api-token-stop-working-using-postman-net-app/83481 "2024-09-13T17:21:53Z")

</div>

Hi, I am not able to authorize in my integration app. There is using basic authorization with username and api token. So I’ve tried generate new token for my account (instead of servis account, which is used in the app) …

---

## [Restricted email addresses in Basic Auth](https://community.developer.atlassian.com/t/restricted-email-addresses-in-basic-auth/62519)

<div class="topic-metadata">

**Author:** [@AnnaSuslova](https://community.developer.atlassian.com/u/AnnaSuslova)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 4:17am UTC](https://community.developer.atlassian.com/t/restricted-email-addresses-in-basic-auth/62519 "2024-07-29T04:17:44Z")

</div>

Now we want to find authorization method, which allows to collect non-public emails of users. Connect apps is not suitable for us. And OAuth 2.0 does not allow to get these emails. Can I will get non-public emails if I u…

---

## [Blocking application access to frontend Forms APIs](https://community.developer.atlassian.com/t/blocking-application-access-to-frontend-forms-apis/81769)

<div class="topic-metadata">

**Author:** [@janette](https://community.developer.atlassian.com/u/janette)\
**Replies:** 3\
**Last updated:** [July 18, 2024, 11:44am UTC](https://community.developer.atlassian.com/t/blocking-application-access-to-frontend-forms-apis/81769 "2024-07-18T11:44:05Z")

</div>

Hi, In today’s Developer Change Log , you’ve announced that ANNOUNCEMENT Blocking application access to frontend Forms APIs On or after 2 August 2024, we’ll be discontinuing and blocking app access to our frontend F…

---

## [404 when accessing Confluence via Postman](https://community.developer.atlassian.com/t/404-when-accessing-confluence-via-postman/81054)

<div class="topic-metadata">

**Author:** [@MichaelvandenDool](https://community.developer.atlassian.com/u/MichaelvandenDool)\
**Replies:** 2\
**Last updated:** [June 24, 2024, 7:05am UTC](https://community.developer.atlassian.com/t/404-when-accessing-confluence-via-postman/81054 "2024-06-24T07:05:14Z")

</div>

Hi, I’m very new to Confluence and just ‘scratching the surface’ to get my colleagues enthousiastic for Confluence as a knowledgebase. I’ve created a space, added pages and now I want to show them how easy it is to acce…

---

## [Constant 401 with new token for Basic auth](https://community.developer.atlassian.com/t/constant-401-with-new-token-for-basic-auth/78513)

<div class="topic-metadata">

**Author:** [@SeanCharles](https://community.developer.atlassian.com/u/SeanCharles)\
**Replies:** 8\
**Last updated:** [March 22, 2024, 5:25pm UTC](https://community.developer.atlassian.com/t/constant-401-with-new-token-for-basic-auth/78513 "2024-03-22T17:25:09Z")

</div>

Hi, I created a key, ran it through the instructions: echo -n myemail:api\_key to get a base64 encoded string, a very long one actually, the super short example of ‘fred:fred’ doesn’t really inspire confidence. My curl…

---

## [REST API returns HTTP 404 error instead 401 for wrong API token](https://community.developer.atlassian.com/t/rest-api-returns-http-404-error-instead-401-for-wrong-api-token/78419)

<div class="topic-metadata">

**Author:** [@OndejMedek](https://community.developer.atlassian.com/u/OndejMedek)\
**Replies:** 0\
**Last updated:** [March 19, 2024, 7:32am UTC](https://community.developer.atlassian.com/t/rest-api-returns-http-404-error-instead-401-for-wrong-api-token/78419 "2024-03-19T07:32:24Z")

</div>

Form the documentation of Get project REST API endpoint Responses: 401 Returned if the authentication credentials are incorrect or missing. I use Basic Authorization with username (email) and Jira API token. Last year, …

---

## [Revoked API token authenticates as anonymous access](https://community.developer.atlassian.com/t/revoked-api-token-authenticates-as-anonymous-access/63945)

<div class="topic-metadata">

**Author:** [@OndejMedek](https://community.developer.atlassian.com/u/OndejMedek)\
**Replies:** 0\
**Last updated:** [November 30, 2022, 2:17pm UTC](https://community.developer.atlassian.com/t/revoked-api-token-authenticates-as-anonymous-access/63945 "2022-11-30T14:17:45Z")

</div>

When I use wrong (non-existing) API token (e.g. mistype), API returns standard 401 error. When I use revoked token, then API switches to anonymous access. When I use valid token with another email address - e.g. userX t…

---

## [Invoking Forge storage api using api token and basic auth](https://community.developer.atlassian.com/t/invoking-forge-storage-api-using-api-token-and-basic-auth/78386)

<div class="topic-metadata">

**Author:** [@MukeshkumarJain](https://community.developer.atlassian.com/u/MukeshkumarJain)\
**Replies:** 3\
**Last updated:** [March 18, 2024, 5:09pm UTC](https://community.developer.atlassian.com/t/invoking-forge-storage-api-using-api-token-and-basic-auth/78386 "2024-03-18T17:09:13Z")

</div>

Hi All , Is it possible to invoke storage api of forge framework from a non-forge backend application using Jira api token and basic auth ? Thanks, Mukesh

---

## [How to login Jira cloud system in python code with only known email address?](https://community.developer.atlassian.com/t/how-to-login-jira-cloud-system-in-python-code-with-only-known-email-address/77810)

<div class="topic-metadata">

**Author:** [@WuBingjieB](https://community.developer.atlassian.com/u/WuBingjieB)\
**Replies:** 4\
**Last updated:** [March 1, 2024, 9:04am UTC](https://community.developer.atlassian.com/t/how-to-login-jira-cloud-system-in-python-code-with-only-known-email-address/77810 "2024-03-01T09:04:46Z")

</div>

auth = (email, password) jira.login(\*auth) auth needs two parameters and password is unknown.

---

## [Creating a new user with Jira REST API using Basic authentication](https://community.developer.atlassian.com/t/creating-a-new-user-with-jira-rest-api-using-basic-authentication/77661)

<div class="topic-metadata">

**Author:** [@YvesIvadHABIMANA](https://community.developer.atlassian.com/u/YvesIvadHABIMANA)\
**Replies:** 0\
**Last updated:** [February 24, 2024, 6:24am UTC](https://community.developer.atlassian.com/t/creating-a-new-user-with-jira-rest-api-using-basic-authentication/77661 "2024-02-24T06:24:38Z")

</div>

I am trying to create a new Jira user using the POST /rest/api/3/user. I have tried to do from my Forge application but since the API is experimental I get the Oauth2 Not enabled for endpoint error. from prior questions …

---

## [Basic Authentication in Jira from Crowd](https://community.developer.atlassian.com/t/basic-authentication-in-jira-from-crowd/74643)

<div class="topic-metadata">

**Author:** [@IbrahimItani](https://community.developer.atlassian.com/u/IbrahimItani)\
**Replies:** 0\
**Last updated:** [November 13, 2023, 3:06pm UTC](https://community.developer.atlassian.com/t/basic-authentication-in-jira-from-crowd/74643 "2023-11-13T15:06:06Z")

</div>

Hello I managed to create a directory in Jira that syncs groups and users from crowd. Moreover crowd fetches users and groups from azure I added a plugin to login using azure in Jira called Microsoft Azure Active Dir…

---

## [OAuth2.0 vs Basic Auth for Node.js Lambda](https://community.developer.atlassian.com/t/oauth2-0-vs-basic-auth-for-node-js-lambda/73748)

<div class="topic-metadata">

**Author:** [@ZainabOttun](https://community.developer.atlassian.com/u/ZainabOttun)\
**Replies:** 3\
**Last updated:** [October 13, 2023, 2:22pm UTC](https://community.developer.atlassian.com/t/oauth2-0-vs-basic-auth-for-node-js-lambda/73748 "2023-10-13T14:22:27Z")

</div>

Hello, I have an AWS Lamba (Node.js) that needs to fetch data from Jira Cloud via the Jira Software Cloud API when triggered on an ad-hoc basis. We’ve been told by another team it is best for us to authenticate with OA…

---

## [Rest API not working with Basic auth](https://community.developer.atlassian.com/t/rest-api-not-working-with-basic-auth/62601)

<div class="topic-metadata">

**Author:** [@LeoMAREK](https://community.developer.atlassian.com/u/LeoMAREK)\
**Replies:** 4\
**Last updated:** [October 17, 2022, 6:23pm UTC](https://community.developer.atlassian.com/t/rest-api-not-working-with-basic-auth/62601 "2022-10-17T18:23:17Z")

</div>

Hello, as per Basic username/pass authentication was deprecated, I have used this guide and tried with API token. However, the curl call in example ends with a message: HTTP/1.1 401 Unauthorized \< Date: Fri, 14 Oct…

---

## [Expiry time for API Token used in Basic Authentication for Jira cloud REST API](https://community.developer.atlassian.com/t/expiry-time-for-api-token-used-in-basic-authentication-for-jira-cloud-rest-api/62469)

<div class="topic-metadata">

**Author:** [@mahendarakarapu](https://community.developer.atlassian.com/u/mahendarakarapu)\
**Replies:** 2\
**Last updated:** [October 17, 2022, 7:02am UTC](https://community.developer.atlassian.com/t/expiry-time-for-api-token-used-in-basic-authentication-for-jira-cloud-rest-api/62469 "2022-10-17T07:02:51Z")

</div>

Hi All, is there any expiry time for the personal API token generated to use in basic auth for Jira REST API? Currently we are observing authentication issue with the token even when it is still in active state.

---

## [Access to Insight API inside Connect app](https://community.developer.atlassian.com/t/access-to-insight-api-inside-connect-app/57086)

<div class="topic-metadata">

**Author:** [@veloti](https://community.developer.atlassian.com/u/veloti)\
**Replies:** 3\
**Last updated:** [September 30, 2022, 7:47am UTC](https://community.developer.atlassian.com/t/access-to-insight-api-inside-connect-app/57086 "2022-09-30T07:47:16Z")

</div>

Hi Team! How can I acees Insight API inside Connect app (e.g., https://api.atlassian.com/jsm/insight/workspace/{workspaceId}/v{version}/object/{id})? Documentation says that you need use Basic auth with API token, email…

---

## [Use Basic Auth for servicedeskapi via Postman](https://community.developer.atlassian.com/t/use-basic-auth-for-servicedeskapi-via-postman/58880)

<div class="topic-metadata">

**Author:** [@ChristopherCasares](https://community.developer.atlassian.com/u/ChristopherCasares)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 11:18pm UTC](https://community.developer.atlassian.com/t/use-basic-auth-for-servicedeskapi-via-postman/58880 "2022-06-06T23:18:07Z")

</div>

Hi all, thanks for helping! I’m trying to comment on a request via Postman https://api.atlassian.com/ex/jira/{cloud-id}/rest/servicedeskapi/request/{request-id}/comment Using basic Auth Username: email Password: API…

---

## [Unable to generate personal access token for jira v8.5](https://community.developer.atlassian.com/t/unable-to-generate-personal-access-token-for-jira-v8-5/56154)

<div class="topic-metadata">

**Author:** [@AnkitDalal](https://community.developer.atlassian.com/u/AnkitDalal)\
**Replies:** 1\
**Last updated:** [February 23, 2022, 11:50am UTC](https://community.developer.atlassian.com/t/unable-to-generate-personal-access-token-for-jira-v8-5/56154 "2022-02-23T11:50:38Z")

</div>

I want to generate personal access token. But i couldn’t find a way to generate PAT from UI. I tried through rest API. but I guess that API is also deprecated. For reference: https://confluence.atlassian.com/enterprise…

---

## [Connect Python with bitbucket](https://community.developer.atlassian.com/t/connect-python-with-bitbucket/55945)

<div class="topic-metadata">

**Author:** [@anon44907228](https://community.developer.atlassian.com/u/anon44907228)\
**Replies:** 6\
**Last updated:** [February 15, 2022, 1:53pm UTC](https://community.developer.atlassian.com/t/connect-python-with-bitbucket/55945 "2022-02-15T13:53:57Z")

</div>

Hey im trying to connect python with bitbucket but it keep saying that i need to create an app password although im using my app password, what am i doing wrong? url = 'https://bitbucket.org/api/2.0/user/' heade…

---

## [How to use username and password to generate token or how to get that user authenticated?](https://community.developer.atlassian.com/t/how-to-use-username-and-password-to-generate-token-or-how-to-get-that-user-authenticated/55257)

<div class="topic-metadata">

**Author:** [@RakeshSharma](https://community.developer.atlassian.com/u/RakeshSharma)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 11:31am UTC](https://community.developer.atlassian.com/t/how-to-use-username-and-password-to-generate-token-or-how-to-get-that-user-authenticated/55257 "2022-01-21T11:31:22Z")

</div>

We are creating an user interface for Cloud JIRA to get test cases in JIRA via API . The user will be entering user name and password for the login into user Interface. In the API authentication is done via user email Id…

---

## [React to Insight events](https://community.developer.atlassian.com/t/react-to-insight-events/54144)

<div class="topic-metadata">

**Author:** [@klaudia.brisakova](https://community.developer.atlassian.com/u/klaudia.brisakova)\
**Replies:** 0\
**Last updated:** [December 3, 2021, 3:54pm UTC](https://community.developer.atlassian.com/t/react-to-insight-events/54144 "2021-12-03T15:54:04Z")

</div>

I need to react to Insight events (insert, update) in my Atlassian Connect application. I found out that I can create an automation rule with Insight trigger, IQL Condition, and action that will call my application. Als…

---

## [How to make a REST API request cause documentation is wrong](https://community.developer.atlassian.com/t/how-to-make-a-rest-api-request-cause-documentation-is-wrong/53471)

<div class="topic-metadata">

**Author:** [@fixianovic](https://community.developer.atlassian.com/u/fixianovic)\
**Replies:** 3\
**Last updated:** [November 5, 2021, 10:10pm UTC](https://community.developer.atlassian.com/t/how-to-make-a-rest-api-request-cause-documentation-is-wrong/53471 "2021-11-05T22:10:20Z")

</div>

Hi. I have a strange problem. I took a sample cURL request from the documentation curl --request GET \\ --url 'https://your-domain.atlassian.net/rest/api/3/events' \\ --user 'my@email.com:my\_api\_key' \\ --header 'Accept: a…

---

## [How to get API key for REST requests?](https://community.developer.atlassian.com/t/how-to-get-api-key-for-rest-requests/53470)

<div class="topic-metadata">

**Author:** [@fixianovic](https://community.developer.atlassian.com/u/fixianovic)\
**Replies:** 3\
**Last updated:** [November 5, 2021, 8:59pm UTC](https://community.developer.atlassian.com/t/how-to-get-api-key-for-rest-requests/53470 "2021-11-05T20:59:50Z")

</div>

I’m a bit lost. According to the documentation to make a request to the REST API my app has to send the API key. But how to get it? Is it the same which I can generate here → Atlassian account ? If yes, how my app can g…

---

## [Which authentication method to use for machine to machine access?](https://community.developer.atlassian.com/t/which-authentication-method-to-use-for-machine-to-machine-access/52490)

<div class="topic-metadata">

**Author:** [@MuhammadUsman](https://community.developer.atlassian.com/u/MuhammadUsman)\
**Replies:** 1\
**Last updated:** [October 1, 2021, 9:24pm UTC](https://community.developer.atlassian.com/t/which-authentication-method-to-use-for-machine-to-machine-access/52490 "2021-10-01T21:24:50Z")

</div>

My organisation has a very simple requirement. We want to grab all data from JIRA Cloud, like issues from all projects and so via REST API (not webhook) using our custom Python script. There are several authentication …

---

## [Jira REST API get myself returns 401 after user was locked and the jira admin unlocked it](https://community.developer.atlassian.com/t/jira-rest-api-get-myself-returns-401-after-user-was-locked-and-the-jira-admin-unlocked-it/51239)

<div class="topic-metadata">

**Author:** [@DianaR](https://community.developer.atlassian.com/u/DianaR)\
**Replies:** 4\
**Last updated:** [August 25, 2021, 12:48pm UTC](https://community.developer.atlassian.com/t/jira-rest-api-get-myself-returns-401-after-user-was-locked-and-the-jira-admin-unlocked-it/51239 "2021-08-25T12:48:34Z")

</div>

We have a weird situation here. The setup is as follows: Jira Server with SSO authentication an internal application that pings JIRA rest api with basic authentication credentials When user is by accident locked out i…

---

## [Jira Cloud REST API authorization](https://community.developer.atlassian.com/t/jira-cloud-rest-api-authorization/49793)

<div class="topic-metadata">

**Author:** [@NawazPasha](https://community.developer.atlassian.com/u/NawazPasha)\
**Replies:** 9\
**Last updated:** [August 24, 2021, 2:26pm UTC](https://community.developer.atlassian.com/t/jira-cloud-rest-api-authorization/49793 "2021-08-24T14:26:04Z")

</div>

Hello, I’m working to integrate Jira Cloud with one of our applications. The use case is something like this, when a user performs certain actions in our application, we need to create an issue in the Jira cloud. What…

---

## [Any reason to go with Basic Auth over 3LO?](https://community.developer.atlassian.com/t/any-reason-to-go-with-basic-auth-over-3lo/49771)

<div class="topic-metadata">

**Author:** [@AlexChumbley](https://community.developer.atlassian.com/u/AlexChumbley)\
**Replies:** 1\
**Last updated:** [July 12, 2021, 3:11pm UTC](https://community.developer.atlassian.com/t/any-reason-to-go-with-basic-auth-over-3lo/49771 "2021-07-12T15:11:37Z")

</div>

Are there any good reasons (e.g., better mgmt for jira admins, better user experience) that any knows to go with Basic Auth (API Tokens) over OAuth 2 / 3LO authentication? I only ask because I see many products (like Pr…

---

## [From a Shell using CURL I would like to be able to create a issue in JIRA SM](https://community.developer.atlassian.com/t/from-a-shell-using-curl-i-would-like-to-be-able-to-create-a-issue-in-jira-sm/46033)

<div class="topic-metadata">

**Author:** [@MichalMonserrat](https://community.developer.atlassian.com/u/MichalMonserrat)\
**Replies:** 9\
**Last updated:** [June 14, 2021, 11:56am UTC](https://community.developer.atlassian.com/t/from-a-shell-using-curl-i-would-like-to-be-able-to-create-a-issue-in-jira-sm/46033 "2021-06-14T11:56:39Z")

</div>

Hello, From a Shell using CURL I would like to be able to create a issue in JIRA SM. I have searched the different REST API documentations, but I can’t find the right method to use for authentication (if possible, I wo…

---

## [Password textfield](https://community.developer.atlassian.com/t/password-textfield/48355)

<div class="topic-metadata">

**Author:** [@HemanthKodandarama](https://community.developer.atlassian.com/u/HemanthKodandarama)\
**Replies:** 1\
**Last updated:** [May 27, 2021, 1:11pm UTC](https://community.developer.atlassian.com/t/password-textfield/48355 "2021-05-27T13:11:10Z")

</div>

do we have support for password type textfield in forge ui like : I have tried with type=“password” but it’s not working showing as text type on html

---

## [Basic Authentication not working in custom sites](https://community.developer.atlassian.com/t/basic-authentication-not-working-in-custom-sites/46268)

<div class="topic-metadata">

**Author:** [@Harshitha](https://community.developer.atlassian.com/u/Harshitha)\
**Replies:** 3\
**Last updated:** [March 17, 2021, 2:56pm UTC](https://community.developer.atlassian.com/t/basic-authentication-not-working-in-custom-sites/46268 "2021-03-17T14:56:08Z")

</div>

Hello Team, I was trying to fetch the Jira data using the REST API. When I pass the Authentication as basic and encoded username and password ( mailID:Password ), I am not being authorized. I got to know that the basic …

[Next page](https://community.developer.atlassian.com/tag/basic-auth/671.md?match_all_tags=true&page=1&tags%5B%5D=basic-auth)
