Hello everyone,
I am very new to jira plugin development and I am trying build a plugin using jwt token. I am able to generate the jwt token successful and the signature is also verified (I checked it from https://jwt.io/ ) however, when I make a call with the jwt token I got a 401 response.
To test it out I try to access the following url from my bowser:
Hi @monjur - there’s plenty of things that could be contributing to this problem… so, perhaps start from the start. How did you generate the JWT? (following the Java example? using the atlassian-jwt library from NPM?)
And by the way, not a novice question. All this auth still makes me feel like a n00b.
Thanks @nmansilla for your reply. I actually figured it out. The application-properties cannot be accessed by app, and that was the problem. However, I am using firebase/jwt php to generate the token and it was generating successfully. later I tried to extract an issue and I was successful for that.
Hi there
I am trying something similar … Also my first time working on Connect Apps. Here is a sample code I am using. I am running this locally and on my Test server … and both returns a 401.