View Source SimpleOAuth

The following platform logins are supported:

  • Google

Configurations

Setup runtime configuration.

config :simple_oauth, [keyword configurations]

Google

config :simple_oauth,
  [
    google: [
      client_id: {client_id},
      client_secret: {client_secret},
      host: {host},
      scope: {scope}, # optional, default: "profile email"
      callback_path: {callback_path}, default: "/oauth/google/callback"
    ]
  ]