Skip to content

vantage-sh/omniauth-datadog

Repository files navigation

OmniAuth Datadog

Installation

gem 'omniauth-datadog'

Basic Usage

use OmniAuth::Builder do
  provider :datadog,
    ENV['DATADOG_ID'],
    ENV['DATADOG_SECRET'],
    scope: 'api_keys_write'
end

Basic Usage Rails

In config/initializers/datadog.rb

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :datadog,
    Rails.application.credentials.omniauth[:datadog][:id],
    Rails.application.credentials.omniauth[:datadog][:secret],
    scope: 'api_keys_write <other_scope>'
end

About

OmniAuth Strategy for Datadog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published