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

feat(internaloption): add better support for self-signed JWT #738

Merged
merged 5 commits into from Dec 2, 2020
Merged

feat(internaloption): add better support for self-signed JWT #738

merged 5 commits into from Dec 2, 2020

Commits on Nov 3, 2020

  1. feat(internaloption): add better support for self-signed JWT

    Added a couple of new internaloptions, WithDefaultAudience and
    WithDefaultScopes, which will be used to start using self-signed
    JWTs by default when certain criteria are met:
    
    1. Authenticating with a service account.
    2. User does not pass explicitly provide their own scopes.
    3. An audience is provided.
    
    In the future gapic client will begin to pass these new
    internaloptions which will enable them to authenticate with with
    a JWT signed by a service account. This is a non-standard oAuth2
    flow, and is an optimization to save an extra network request.
    codyoss committed Nov 3, 2020
    Copy the full SHA
    ce261f8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    5a6b440 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Copy the full SHA
    4883616 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2b2d3d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2020

  1. Copy the full SHA
    ec2aacd View commit details
    Browse the repository at this point in the history