GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — JWT token + getRequestMetadata(entry point) · Issue #30 · googleapis/google-auth-library-java

This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

JWT token + getRequestMetadata(entry point) #30

Copy link
Copy link
Closed
#290
Closed
JWT token + getRequestMetadata(entry point)#30
#290
Copy link
Assignees
chingor13
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Milestone
1.0

Description

@ejona86
ejona86
opened on Aug 12, 2015
Issue body actions

Credentials.getRequestMetadata(URI) is passed a URI defined as "the entry point for the request". What does that mean?

To be in sync with grpc/grpc#2911 and work with the current ServiceAccountJwtAccessCredentials, the URI passed would need to exclude the gRPC method name. But given the credential API, I would more expect the URI to be the request URI, which would include the method name.

Is it possible for "entry point" to be better defined?

Activity

  1. anthmgoogle commented on Aug 13, 2015

    @anthmgoogle
    anthmgoogle
    on Aug 13, 2015
    Contributor
    More actions

    Yes, I've been thinking about what we should do here. In the short run the Java library just passes the URI straight through as the Audience with no processing.

    What I think we should do here:

    • Have the transport pass in the full URI of the method call.
    • Have the ServiceAccountJwtAccessCredentials trim this down the just the entry point to use as the Audience field.

    The thinking is that while Jwt Access Credentials does not happen to use the method, a theoretical credential might. Also, the Jwt Accses Credential probably needs some caching, so it needs to truncate this as a key for the caching as well.

    We should discuss with other implementers of the auth libraries. If this is the way to go, we should implement the truncation in the auth library first. When that version is consumed by grpc-java, the truncation can be removed from that layer.

  2. anthmgoogle
    self-assigned this
    on Aug 13, 2015
  3. garrettjonesgoogle commented on Mar 10, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Mar 10, 2017
    Contributor
    More actions

    Is this a breaking change?

  4. JustinBeckwith
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Jun 8, 2018
  5. chingor13
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Jun 19, 2018
  6. JustinBeckwith
    removed
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Jun 19, 2018
  7. sduskis
    unassigned
    anthmgoogle
    on Jun 11, 2019
  8. chingor13
    added this to the 1.0 milestone on Jul 31, 2019
  9. chingor13
    closed this as completedin #290on Aug 5, 2019
  10. JustinBeckwith
    assigned
    chingor13
    on Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @chingor13
    chingor13

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    • 1.0No due date

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.