Sha256: 903061bc4466c615f99cd4e2ea79185ab62efb685af89948747b5efd7a2bf87c

Contents?: true

Size: 962 Bytes

Versions: 1

Compression:

Stored size: 962 Bytes

Contents

Ibrain::Auth.config do |config|
  # Api version as namespace at routes
  # config.api_version =  'v1'

  # Please fill firebase_api_key
  config.firebase_api_key = 'FIREBASE_API_KEY'

  # Can use RAILS_MASTER_KEY or something else
  config.jwt_secret_key = 'RAILS_MASTER_KEY'

  # Set user table name for rails ORM
  config.user_table_name = 'ibrain_users'

  # sign_up graphql input
  config.sign_up_input = Ibrain::Auth::Types::Input::SignUpInput

  # sign_in graphql input
  config.sign_up_input = Ibrain::Auth::Types::Input::SignInInput

  # firebase private json path
  config.firebase_private_key_path = Rails.root.join('static/firebase.json')

  # firebase aud url
  config.firebase_auth_url = "https://identitytoolkit.googleapis.com/google.identity.identitytoolkit.v1.IdentityToolkit"

  # firebase owner email
  config.firebase_owner_email = nil

  # social sign_in input
  config.social_sign_in_input = Ibrain::Auth::Types::Input::SocialSignInInput
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ibrain-auth-0.3.7 lib/generators/ibrain/auth/install/templates/config/initializers/ibrain_auth.rb.tt