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

Google Wallet Pass JWT and API #135

Open
bwalpoleuk opened this issue Dec 30, 2024 · 0 comments
Open

Google Wallet Pass JWT and API #135

bwalpoleuk opened this issue Dec 30, 2024 · 0 comments

Comments

@bwalpoleuk
Copy link

We are investigating how we can build a backend API for the generation of generic passes for a user to add to their Google Wallet.

For the investigation we are referencing the Google .NET example implementation here: https://github.com/google-wallet/rest-samples/blob/main/dotnet/DemoGeneric.cs

In this example there is a method called CreateObject that builds the GenericPass and uses WalletobjectsService to insert the pass.

There is also a method called CreateJWTNewObjects that builds the GenericPass and then incorporates it into a signed JWT token and uses this to build a URL for the user to use to add it to their wallet.

What we're not clear on is are these simply two different ways of creating a pass or are both process required? I.e. You need to use WalletobjectsService and create the JWT or it is enough to simply create the JWT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant