Skip to content

Research OICD identity federation with v3oidcpassword #209

Closed

Description

@fkr

Research into keystoneauth source code to find out if openstack --os-auth-type v3oidcpassword is the right way to go to achieve OIDC Identity Federation.

Definition of Done:

  • This research is successful, if we know wether to base our work on v3oidcpassword or not => Result: No it's not, we decided to go with OAuth 2.0 Device Authorization Flow instead.
  • All acceptance criteria are met
  • Documentation has been updated

Activity

  1. added
    IAM
    on Oct 28, 2022
  2. added this to the R4 (v5.0.0) milestone on Oct 28, 2022
  3. moved this from Backlog to Doing in Sovereign Cloud Stackon Oct 28, 2022
  4. reqa commented on Nov 8, 2022

    @reqa

    I've created osism/ansible-collection-services#868 to make this possible:

    dragon@testbed-manager:~$ openstack \
      --os-auth-url http://192.168.16.10:5000/v3 \
      --os-auth-type v3oidcpassword \
      --os-client-id keystone \
      --os-client-secret 0056b89c-030f-486b-a6ad-f0fa398fa4ad \ 
      --os-username alice \
      --os-password password \
      --os-identity-provider keycloak \
      --os-protocol openid \
      --os-identity-api-version 3 \
      --os-discovery-endpoint "https://keycloak.$(hostname -d)/auth/realms/osism/.well-known/openid-configuration" \
      --os-openid-scope "openid profile email" \
      token issue
    

    Without that adjustment to the osism openstacclient container, it would not accept the self signed testbed SSL certificate and one had to use the --insecure option.

  5. reqa commented on Jan 12, 2023

    @reqa

    Result: No --os-auth-type v3oidcpassword is not suitable for use with CLI usage and "identity federation", we decided to go with OAuth 2.0 Device Authorization Flow instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

IAM

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions