Skip to content

[Feat] Allow AppCheck Tokens to be Passed to Google Maps JS API #759

@mmhenrimm

Description

@mmhenrimm

Target Use Case

For AppCheck protected API's (documentation), Google Maps JS API expects an extra query parameter (appCheckToken) to be passed in when fetching from https://maps.googleapis.com/maps/api/js. As far as I can tell, there is no way to pass an AppCheck token to the APIProvider. This means that this library is not currently compatible with AppCheck at all.

Proposal

I believe this would be as simple as adding a new optional parameter to APIProviderProps here and to ApiProps here. If I'm tracing the code correctly, this would get wired into the URL parameters here for "free".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions