Forums

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

Forge cannot revoke external provider integration

ryang_sei
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 2, 2025

When a user enabled integration eg. github, if any strange thing happens, like the user remove the token from Github, there seems to be no way for the forge app to reconnect.

the following will return true.

api.asUser().withProvider('github-auth', 'github-api').hasCredentials()

when calling

api.asUser().withProvider('github-auth', 'github-api').requestCredentials();

it will end with error:

[NEEDS_AUTHENTICATION_ERR: Authentication Required] {
status: 401,
serviceKey: 'github-auth',
options: { scopes: undefined, isExpectedError: true }
}

 

Is there any way to aromatically trigger the reconnect?

 

Thanks

1 answer

0 votes
Florian Bonniec
Community Champion
May 2, 2025

Hi @ryang_sei 

As this question is related to JIRA Forge, I suggest you to ask your question on the developer community.

The Atlassian Developer Community

 

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events