Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sx5 868 pr keycloak identity provider #56742

Closed

Conversation

elfelip
Copy link

@elfelip elfelip commented May 21, 2019

SUMMARY

Add Keycloak Identity provider module

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

keycloak_identity_provider

ADDITIONAL INFORMATION

module: keycloak_identity_provider
short_description: Configure an identity provider in Keycloak
description:

  • This module creates, removes or update Keycloak identity provider.
    version_added: "2.9"
    options:
    realm:
    description:
    • The name of the realm in which is the identity provider.
      default: master
      alias:
      description:
    • The alias of the identity provider.
      required: true
      displayName:
      description:
    • The display name of the realm.
      required: false
      providerId:
      description:
    • Type of identity provider.
      required: false
      enabled:
      description:
    • enabled.
      required: false
      default: true
      updateProfileFirstLoginMode:
      description:
    • update Profile First Login Mode.
      required: false
      trustEmail:
      description:
    • trust Email.
      required: false
      storeToken:
      description:
    • store Token.
      required: false
      default: true
      addReadTokenRoleOnCreate:
      description:
    • add Read Token Role On Create.
      required: false
      authenticateByDefault:
      description:
    • authenticate By Default.
      required: false
      firstBrokerLoginFlowAlias:
      description:
    • first Broker Login Flow Alias.
      required: false
      postBrokerLoginFlowAlias:
      description:
    • post Broker Login Flow Alias.
      required: false
      linkOnly:
      description:
    • Link only option for identity provider
      default: False
      config:
      description:
    • Detailed configuration of the identity provider.
      required: false
      type: dict
      suboptions:
      openIdConfigurationUrl:
      description:
      - Open ID configuration URL of the IdP to configure. Will be used to configure IdP endpoints.
      type: str
      clientId:
      description:
      - Client ID used to authenticate Keycloak on this IdP
      type: str
      clientSecret:
      description:
      - Client secret to authenticate client on the IdP.
      type: str
      disableUserInfo:
      description:
      - Do we need to disable user info endpoint query. Default value is False.
      - Must be set to true when IdP is Microsoft ADFS.
      type: str
      choices:
      - true
      - false
      default: false
      defaultScope:
      description:
      - Default scope supported with this IdP
      type: str
      guiOrder:
      description:
      - Order to display the IdP button on login screen. Lower's first.
      type: int
      backchannelSupported:
      description:
      - Is back channel logout is supported by the IdP.
      type: str
      choices:
      - true
      - false
      default: true
      mappers:
      description:
    • List of mappers for the Identity provider.
      required: false
      type: list
      suboptions:
      name:
      description:
      - Name of the mapper
      type: str
      identityProviderMapper:
      description:
      - Type of identity provider mapper.
      type: str
      choices:
      - oidc-user-attribute-idp-mapper
      - oidc-role-idp-mapper
      config:
      description:
      - Configuration for this mapper.
      type: dict
      suboptions:
      claim:
      description:
      - Name of the claim to map.
      type: str
      user.attribute:
      description:
      - This option is for oidc-user-attribute-idp-mapper
      - User attribute to copy the claim value to.
      type: str
      claim.value:
      description:
      - This option is for oidc-role-idp-mapper
      - Role will be granted to the user only if the claim match this value.
      type: str
      role:
      description:
      - This option is for oidc-role-idp-mapper
      - Role to be granted to the user if the claim match claim.value.
      type: str
      state:
      description:
    • Control if the realm exists.
      choices: [ "present", "absent" ]
      default: present
      force:
      description:
    • If true, allows to remove realm and recreate it.
      type: bool
      default: false
      extends_documentation_fragment:
    • keycloak
      notes:
  • module does not modify identity provider alias.
    author:

@ansibot
Copy link
Contributor

ansibot commented May 21, 2019

@elfelip this PR contains the following merge commits:

Please rebase your branch to remove these commits.

click here for bot help

@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 identity Identity category merge_commit This PR contains at least one merge commit. Please resolve! module This issue/PR relates to a module. needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_triage Needs a first human triage before being processed. new_contributor This PR is the first contribution by a new community member. new_module This PR includes a new module. new_plugin This PR includes a new plugin. support:community This issue/PR relates to code supported by the Ansible community. labels May 21, 2019
@elfelip elfelip force-pushed the sx5-868-pr-keycloak_identity_provider branch from 109716d to 2357328 Compare May 21, 2019 18:38
@ansibot
Copy link
Contributor

ansibot commented May 22, 2019

@adamgoossens @eikef

As a maintainer of a module in the same namespace this new module has been submitted to, your vote counts for shipits. Please review this module and add shipit if you would like to see it merged.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented May 22, 2019

cc @eikef
click here for bot help

@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. and removed merge_commit This PR contains at least one merge commit. Please resolve! needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html labels May 22, 2019
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label May 30, 2019
@ansibot ansibot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed community_review In order to be merged, this PR must follow the community review workflow. labels Sep 1, 2019
@ansibot
Copy link
Contributor

ansibot commented Feb 8, 2020

cc @ndclt
click here for bot help

@ansibot ansibot added collection Related to Ansible Collections work collection:community.general support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Apr 29, 2020
@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label May 18, 2020
@Akasurde
Copy link
Member

Hi @elfelip, Thank you very much for your interest in Ansible. This plugin/module is no longer maintained in this repository and has been migrated to https://github.com/ansible-collections/community.general

If you have further questions please stop by IRC or the mailing list:

* IRC: #ansible on irc.freenode.net
* mailing list: https://groups.google.com/forum/#!forum/ansible-project

needs_info

@Akasurde Akasurde closed this Aug 20, 2020
@ansible ansible locked as resolved and limited conversation to collaborators Aug 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 collection:community.general collection Related to Ansible Collections work identity Identity category module This issue/PR relates to a module. needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. new_contributor This PR is the first contribution by a new community member. new_module This PR includes a new module. new_plugin This PR includes a new plugin. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants