No commit activity in last 3 years
No release in over 3 years
This gem can be used to generate signed JWT bearer tokens from Google service account for making authorized service calls.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 10.0
~> 3.0
 Project Readme

IAP Authenticator

Build Status

This gem can be used to generate signed JWT bearer tokens from Google service account for making authorized service calls. For more information refer to this link: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#jwt-auth

prerequisite

You need a google service account and client ID

Installing

Using Rubygems:

sudo gem install iap_authenticator

Using Bundler:

Add the following to your Gemfile

gem 'iap_authenticator'

And run bundle install

Development

Specs

bundle install
bundle exec rake spec

Running locally

gem build iap-authenticator.gemspec
gem install iap-authenticator-<version>.gem

Usage

source .env
ruby example/snippet.rb

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/gojekfarm/iap_authenticator

References

Similar proxy implementation can be found here: https://github.com/gojekfarm/iap_auth