Use Bubble to Authenticate w/ External API

Hello,

I would like to use Bubble to authenticate w/ an external API. For instance, when an API request is sent, a JWT is included. The external API would receive that token, then send it to a Bubble API endpoint to verify that the user session is valid, and even grab details about the user like their ID and email address.

Is this possible out of the box, or even with some custom code?

Thank you!

1 Like

It’s possible now with Security Salamander :wink: You can now authenticate Backend API Workflows with JWT, HMAC, encryption, etc, etc…

It’s currently available but it’s still in a beta phase. If you face any issues, I’m super responsive and very active on the forums. You could always message me or make a feature request or make a bug report.

Thank you for responding so quickly! Would I basically be using this plugin to create the token in the workflows that interface w/ my API? Something like:

Workflow Triggers → JWT Created w/ Plugin → API Called w/ JWT in Header

1 Like

Yeah you could do something like that. You’d create a JWT and include in the header of an API call, for example.

If your API service is with Bubble, you could use Security Salamander to decode the JWT as well :grinning_face_with_smiling_eyes:

If not, then just create the JWT and send it out! :smiley:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.