cloudforet-apis
  • README
  • content
    • en
      • Cloudforet API Documentation
      • board
        • _index
        • v1
          • Board
          • Post
          • v1
      • config
        • _index
        • v1
          • DomainConfig
          • PublicConfig
          • UserConfig
          • WorkspaceConfig
          • v1
      • core
        • _index
        • v1
          • Handler
          • Query
          • ServerInfo
          • v1
        • v2
          • Handler
          • Plugin
          • Query
          • v2
      • cost_analysis
        • _index
        • plugin
          • Cost
          • DataSource
          • Job
          • plugin
        • v1
          • Budget
          • BudgetUsage
          • Cost
          • CostQuerySet
          • CostReport
          • CostReportConfig
          • CostReportData
          • CustomWidget
          • DataSource
          • DataSourceAccount
          • DataSourceRule
          • ExchangeRate
          • Job
          • JobTask
          • PublicDashboard
          • Schedule
          • UnifiedCost
          • UserDashboard
          • v1
      • dashboard
        • _index
        • v1
          • CustomWidget
          • Dashboard
          • DomainDashboard
          • PrivateDashboard
          • PrivateDataTable
          • PrivateFolder
          • PrivateWidget
          • ProjectDashboard
          • PublicDashboard
          • PublicDataTable
          • PublicFolder
          • PublicWidget
          • v1
      • file_manager
        • _index
        • v1
          • File
          • PublicFile
          • v1
      • identity
        • _index
        • plugin
          • AccountCollector
          • Auth
          • ExternalAuth
          • plugin
        • v1
          • ApiKey
          • Authorization
          • Domain
          • DomainOwner
          • Endpoint
          • Policy
          • Project
          • ProjectGroup
          • Provider
          • Role
          • RoleBinding
          • ServiceAccount
          • Token
          • User
          • v1
        • v2
          • Agent
          • ApiKey
          • App
          • Authorization
          • Domain
          • Endpoint
          • ExternalAuth
          • Job
          • Package
          • Policy
          • Project
          • ProjectGroup
          • Provider
          • Role
          • RoleBinding
          • Schema
          • ServiceAccount
          • System
          • Token
          • TrustedAccount
          • TrustedServiceAccount
          • User
          • UserGroup
          • UserProfile
          • Workspace
          • WorkspaceGroup
          • WorkspaceGroupDetails
          • WorkspaceGroupUser
          • WorkspaceUser
          • v2
      • inventory
        • _index
        • plugin
          • Collector
          • Job
          • plugin
        • v1
          • ChangeHistory
          • CloudService
          • CloudServiceQuerySet
          • CloudServiceReport
          • CloudServiceStats
          • CloudServiceType
          • Collector
          • CollectorRule
          • Job
          • JobTask
          • Metric
          • MetricData
          • MetricExample
          • Namespace
          • Note
          • Region
          • ResourceGroup
          • v1
        • v2
          • Region
          • v2
      • monitoring
        • _index
        • plugin
          • DataSource
          • Event
          • Log
          • Metric
          • Webhook
          • plugin
        • v1
          • Alert
          • DataSource
          • EscalationPolicy
          • Event
          • EventRule
          • Log
          • MaintenanceWindow
          • Metric
          • Note
          • ProjectAlertConfig
          • Webhook
          • v1
      • mzc_service_api
        • _index
        • v1
          • Contract
          • Offering
          • Organization
          • v1
      • notification
        • _index
        • plugin
          • Notification
          • Protocol
          • plugin
        • v1
          • Notification
          • NotificationUsage
          • ProjectChannel
          • Protocol
          • Quota
          • UserChannel
          • v1
      • opsflow
        • _index
        • v1
          • Comment
          • Event
          • Task
          • TaskCategory
          • TaskType
          • v1
      • plugin
        • _index
        • v1
          • Plugin
          • Supervisor
          • v1
      • repository
        • _index
        • v1
          • DashboardTemplate
          • Plugin
          • Policy
          • Repository
          • Schema
          • v1
        • v2
          • Common
          • Provider
          • RemoteRepository
          • Schema
          • v2
      • sample
        • _index
        • v1
          • Helloworld
          • v1
      • search
        • _index
        • v1
          • Resource
          • v1
      • secret
        • _index
        • v1
          • Secret
          • SecretGroup
          • TrustedSecret
          • UserSecret
          • v1
      • statistics
        • _index
        • plugin
          • Storage
          • plugin
        • v1
          • History
          • Resource
          • Schedule
          • Storage
          • v1
Powered by GitBook
On this page
  • ExternalAuth
  • set
  • unset
  • get
  • Message
  • ExternalAuthInfo
  • ExternalAuthRequest
  • SetExternalAuthRequest
  1. content
  2. en
  3. identity
  4. v2

ExternalAuth

PreviousEndpointNextJob

Last updated 6 months ago

Package : spaceone.api.identity.v2

ExternalAuth

ExternalAuth Methods:

Method
Request
Response

set

Google OAuth2, Keycloak OIDC, SAML are supported as external authentication.

POST /identity/v2/external-auth/set

{{< tabs " set " >}}

{{< tab "Request Example" >}}

  • plugin_info (PluginRequest) Required

{{< highlight json >}} { "plugin_id": "plugin-googleoauth2-identity-auth", "upgrade_mode": "AUTO", "options": { "client_id": "client_id", "protocol": "oauth2", "identity_provider": "google", "validator": "gmail.com" } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • state (State) Required

  • plugin_info (PluginInfo) Required

  • updated_at (string) Required

{{< highlight json >}} { "domain_id": "domain-123456", "plugin_info": { "metadata": { "authorization_endpoint": "https://www.googleapis.com", "client_id": "client_id", "identity_provider": "google", "protocol": "oauth2", "token_endpoint": "https://www.googleapis.com/oauth2/v2/tokeninfo", "userinfo_endpoint": "https://www.googleapis.com/oauth2/v3/userinfo", "validator": "gmail.com" }, "options": { "client_id": "client_id", "identity_provider": "google", "protocol": "oauth2", "validator": "gmail.com" }, "plugin_id": "plugin-googleoauth2-identity-auth", "upgrade_mode": "AUTO", "version": "1.1.3" } } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

unset

Unset external authentication information.

POST /identity/v2/external-auth/unset

{{< tabs " unset " >}}

{{< tab "Request Example" >}}

{{< highlight json >}} { } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • state (State) Required

  • plugin_info (PluginInfo) Required

  • updated_at (string) Required

{{< highlight json >}} { "domain_id": "domain-123456", "plugin_info": { "metadata": { "authorization_endpoint": "https://www.googleapis.com", "client_id": "client_id", "identity_provider": "google", "protocol": "oauth2", "token_endpoint": "https://www.googleapis.com/oauth2/v2/tokeninfo", "userinfo_endpoint": "https://www.googleapis.com/oauth2/v3/userinfo", "validator": "gmail.com" }, "options": { "client_id": "client_id", "identity_provider": "google", "protocol": "oauth2", "validator": "gmail.com" }, "plugin_id": "plugin-googleoauth2-identity-auth", "upgrade_mode": "AUTO", "version": "1.1.3" } } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get

Get external authentication information.

POST /identity/v2/external-auth/get

{{< tabs " get " >}}

{{< tab "Request Example" >}}

{{< highlight json >}} { } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • state (State) Required

  • plugin_info (PluginInfo) Required

  • updated_at (string) Required

{{< highlight json >}} { "domain_id": "domain-123456", "plugin_info": { "metadata": { "authorization_endpoint": "https://www.googleapis.com", "client_id": "client_id", "identity_provider": "google", "protocol": "oauth2", "token_endpoint": "https://www.googleapis.com/oauth2/v2/tokeninfo", "userinfo_endpoint": "https://www.googleapis.com/oauth2/v3/userinfo", "validator": "gmail.com" }, "options": { "client_id": "client_id", "identity_provider": "google", "protocol": "oauth2", "validator": "gmail.com" }, "plugin_id": "plugin-googleoauth2-identity-auth", "upgrade_mode": "AUTO", "version": "1.1.3" } } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

Message

ExternalAuthInfo

  • domain_id (string) Required

  • state (State) Required

  • plugin_info (PluginInfo) Required

  • updated_at (string) Required

ExternalAuthRequest

SetExternalAuthRequest

  • plugin_info (PluginRequest) Required

SetExternalAuthRequest
ExternalAuthRequest
ExternalAuthRequest
ExternalAuthInfo
ExternalAuthInfo
ExternalAuthInfo
set
SetExternalAuthRequest
ExternalAuthInfo
unset
ExternalAuthRequest
ExternalAuthInfo
get
ExternalAuthRequest
ExternalAuthInfo