The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

PHP OAUTH Example help

ICANSEEYOU7867
Contributor
September 10, 2020

I am hoping to get some guidance from someone more knowledgeable than I.  I am not too familiar with twig and guzzle and I am hoping someone here has already done this.

 

I have the PHP example working (wooo!):
https://bitbucket.org/atlassianlabs/atlassian-oauth-examples/src/master/php/

I can authenticate and get token data and everything is working.

However I am hoping to make my own rest-api to feed an open ticket count into Grafana.  So I am curious if there is an easy way to automatically reauthenticate the oauth token instead of having to click the button every time.

I am going to try and read through what is going on and see how this is all implemented, but there is not a good reference on the functions.

Thanks!

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.