Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Personal Access Token authenticate with Google?

Ben Steinwand January 6, 2023
{{baseUrlOfYourInstance}}/rest/pat/latest/tokens

Regarding the endpoint to get a PAT, if the user authenticates to JIRA/Confluence with a public SSO like 'sign in with google' what parameters should be used for:

'USERNAME:PASSWORD'

 The email address and password for my associated Google account does not seem to work. 

1 answer

1 accepted

1 vote
Answer accepted
Vikrant Yadav
Community Champion
January 6, 2023

Hi @Ben Steinwand Welcome to Atlassian Community!

Use API token as a Password. 

Username = gmailaddress@gmail.com

Password = Generate API token ( Go to Manage Account >> Security >> Select "Create and Manage API token)

Thanks

V.Y

Ben Steinwand January 6, 2023

Hi Vikrant,

The issue is that I am attempting to get the API token via the endpoint below, which is for getting API tokens - as I understand it. 

/rest/pat/latest/token

This requires authenticate (JIRA/Confluence username and password. I log into JIRA with google. I assume JIRA does not know my Google password. 

Is there a way to use this endpoint to fetch an API token if I authenticate to JIRA with some public SSO provider like 'sign in with Google'? 

Vikrant Yadav
Community Champion
January 6, 2023

Hi Ben,

As per my knowledge ,Jira Cloud won’t allow PAT. PATs for Jira Server/Datacenter. API token works in Jira Cloud which you can generate from Manage account.

https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/#get-an-api-token

https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html

 

Thanks

Ben Steinwand January 7, 2023

Thanks Vikrant. 

Like Vikrant Yadav likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events