External API Integrations
I understand that the existing API functionality covers exposing my services to others, but what about external APIs that I want to pull in their data into my app? What if I wanted to integrate with Jira and get a list of projects and todos from there? Could I leverage some of the existing API functionality of jumpstart and build this on?
May be more a GoRails episode...
May be more a GoRails episode...
Jumpstart Pro's API feature is all about exposing an API for other people to consume of your app. It's usually the more confusing part trying to determine how to handle authentication, etc so I thought it would be good to have built-in.
If they're hardcoded API keys, you can just toss any API keys you need in credentials and access them with
If they're for each user, use Omniauth with Devise and Jumpstart Pro will store them as a
Rails.application.credentials.jira_api_key
. https://edgeguides.rubyonrails.org/security.html#custom-credentialsIf they're for each user, use Omniauth with Devise and Jumpstart Pro will store them as a
User::ConnectedAccount
record. Just have to add them to Devise in config/initializers/devise.rb
Notifications
You’re not receiving notifications from this thread.