Forge request authentication for remote backend

Hi,

I have question regarding the request authentication for the remote backend.

There are two separate urls related to it:

  1. addon.authenticate middleware - Using Forge Remote in Connect frameworks
  2. https://developer.atlassian.com/platform/forge/remote/essentials/#verifying-remote-requests Varifying remote requests: Bitbucket

I would like to clarify that if I use addon.authenticate middleware for the validation i no longer need to create custom authentication middleware as it’s in the below link, correct? Bitbucket

Thank you,
Nino.

Hi Nino, if you’re using one of the Connect frameworks, support for Forge remote authentication is built in. You can use the frameworks if your app doesn’t have any Connect features. If you aren’t you’ll need to copy the code from one of the reference apps.

Hello,

Yes we are using Connect framework.
So addon.authenticate middleware - Using Forge Remote in Connect frameworks is enough right?

Right, that’s enough - you probably want addon.authenticateForge()