This is middleware for Koda Content that allows you to secure your server using OmniAuth
You have to subclass Koda::Auth::OmniAuthIntegration and add in the strategies you require, so:
class MyAuthStrategy < Koda::Auth::OmniAuthIntegration
use ::OmniAuth::Strategies::GitHub, ENV['GITHUB_CLIENT_ID'], ENV['GITHUB_CLIENT_SECRET']
set :views, 'path/to/views'
end
Then use it as middleware on your Koda::Api
class MyApi < Koda::Api
use MyAuthStrategy
end