Skip to content

support client credentials grant from Connection.authenticate_oidc() #419

Closed

Description

@soxofaan

Connection.authenticate_oidc() currently automatically switches between refresh token auth and device code flow auth depending on the presence of recent refresh tokens.

With growing interest in client credential auth, we should also add support for that under authenticate_oidc, that is triggered from a config setting, or the presence of certain environment variables.

That will make it possible to use a generic connection.authenticate_oidc() snippet in code samples, notebooks, ..., which will then automatically use an appropriate auth method (device code for first time user, client credentials for CI/CD test use cases, ...)

Activity

  1. soxofaan commented on Apr 24, 2023

    @soxofaan
    MemberAuthor

    (internal refs: CDAS-619, CDAS-622)

  2. added 3 commits that reference this issue on May 16, 2023
  3. soxofaan commented on May 23, 2023

    @soxofaan
    MemberAuthor

    worked on PR last week: #429

  4. added 3 commits that reference this issue on May 25, 2023
  5. soxofaan commented on May 25, 2023

    @soxofaan
    MemberAuthor

    already merged #429 to have the basics in master

    further finetuning:

    • docs explaining this feature better (e.g. document full feature set of authenticate_oidc
    • better unification of config and envvar handling
  6. added 2 commits that reference this issue on Jun 2, 2023
  7. soxofaan commented on Jun 2, 2023

    @soxofaan
    MemberAuthor

    improved documentation now as well

    time to close

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions