Using Rails for the backend for authenticating post-purchase extension calls?

Hi, I’m trying to implement a post-purchase extension and I see that the documentation provided is only if the app server runs on JS. From the looks of it, it’s to use the authentication functions for requests made from the extension.

My question is whether this is strictly required or if there will at least be some documentation for implementing in other languages. We currently use Rails for the app server and our app runs in the Shopify Admin as well as having multiple other app extensions.

Any help is appreciated! Thank you!

If you look into that function, really all it’s doing is authenticating that the JWT token is coming from Shopify, and also ensures that the response headers are correct/in the format that Shopify expects.

I believe the shopify-api-ruby library provides you what you need to do the request verification (in utils)!

Hope that helps point you in the right direction, I haven’t done this myself!