Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Json Web Token example for Java

Tags:

jwt

Is there a sample program in Java of HPW to create header, claim set for JWT (service account ) so that I get the Access token?

The following URL looks close:
https://developers.google.com/accounts/docs/OAuth2ServiceAccount#libraries
But I was looking for any sample program to start with.

Does anyone have any help links?

like image 816
user1877096 Avatar asked Jan 07 '13 21:01

user1877096


1 Answers

From http://code.google.com/p/jsontoken/

svn checkout http://jsontoken.googlecode.com/svn/trunk/ jsontoken-read-only

And a fully working example:

https://code.google.com/p/gwdg-java/

like image 109
Jeremy Avatar answered Oct 21 '22 03:10

Jeremy