Skip to content

Evaluate use of oauth2.0 device authorization grant for openstack client authentication #221

Closed

Description

@fkr

Hypothesis: that device authorization grant is the way to go in order to properly federate auth of an openstack client

As a SCS Developer, I want to evaluate and benchmark this hypothesis.
This includes:

  • Implement something in openstack/keystoneauth code
  • Test it against keycloak/keystone in the testbed

Definition of Done:

  • We know wether device authorization grant will solve our problem
  • There exists a sketch on how to properly implement the targeted solution
  • All acceptance criteria are met
  • Documentation has been updated

Activity

  1. added
    IAM
    on Nov 24, 2022
  2. added this to the R4 (v5.0.0) milestone on Nov 24, 2022
  3. added
    needs refinement
    on Nov 24, 2022
  4. reqa commented on Nov 25, 2022

    @reqa

    Zitadel currently doesn't yet support it, but that shouldn't block us, as 1. Keycloak apparently already does, so we have a target to test against and 2. Zitadel is open for doing this at some point: zitadel/oidc#141

  5. fforootd commented on Nov 25, 2022

    @fforootd

    Zitadel currently doesn't yet support it, but that shouldn't block us, as 1. Keycloak apparently already does, so we have a target to test against and 2. Zitadel is open for doing this at some point: zitadel/oidc#141

    👍 Just let us know if this important to your project. We would be happy to assist.

  6. removed
    needs refinement
    on Nov 28, 2022
  7. moved this from Backlog to Doing in Sovereign Cloud Stackon Nov 28, 2022
  8. reqa commented on Dec 6, 2022

    @reqa

    I've implemented support for the "OAuth 2.0 Device Authorization Grant" flow here. Next steps would be:

    • Try to upstream the patch (simply create a Pull request or be more proactive?)
    • Check in Testbed if Keycloak Identity Brokering to a remote IdP (or rather OIDC OP) actually works with this

    Side note: Apparently with this flow Keycloak does not (yet?) support the Keycloak specific mechanism of explicit selection of a remote IdP via ?kc_idp_hint URL parameter, see https://keycloak.discourse.group/t/kc-idp-hint-and-oauth-2-0-device-authorization-grant/16848 .

  9. Repository owner moved this from Doing to Done in Sovereign Cloud Stackon Dec 8, 2022
  10. mffap commented on Mar 1, 2023

    @mffap

    Zitadel currently doesn't yet support it, but that shouldn't block us, as 1. Keycloak apparently already does, so we have a target to test against and 2. Zitadel is open for doing this at some point: zitadel/oidc#141

    Looks like the device authorization grant has been merged into our oidc library. So probably will land very soon in zitadel.

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