Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to validate Oauth token in datacenter ?

Kiran Narayana
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!
November 16, 2022

I have setup OAuth in my application but unable to check whether token is expired or not.

In current implementation i'm storing access token in my application db but no way to validate it.

I've gone through the API list provided to implement searching repositories based on repo name but only public repo are listed since search repositories can be also accessed without token.

I'm expecting the above behaviour from API: If the token is expired instead of processing the request with HTTP status code 200 , I need to return 401 (unauthorised).

Response: with invalid or tampered token.




Response: with valid token.response_valid_toen.png



Log in or Sign up to comment
AUG Leaders

Atlassian Community Events