{"id":21243640,"url":"https://github.com/yodlee/jwt","last_synced_at":"2025-10-16T02:06:12.221Z","repository":{"id":39837972,"uuid":"223021875","full_name":"Yodlee/jwt","owner":"Yodlee","description":"Sample applications demonstrating working with JWTs and the Yodlee APIs","archived":false,"fork":false,"pushed_at":"2022-12-22T13:15:55.000Z","size":59,"stargazers_count":3,"open_issues_count":5,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T17:36:23.097Z","etag":null,"topics":["jwt","jwt-token","yodlee"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yodlee.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-20T20:31:07.000Z","updated_at":"2023-12-16T03:45:33.000Z","dependencies_parsed_at":"2022-07-26T05:32:32.834Z","dependency_job_id":null,"html_url":"https://github.com/Yodlee/jwt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yodlee/jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yodlee%2Fjwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yodlee%2Fjwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yodlee%2Fjwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yodlee%2Fjwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yodlee","download_url":"https://codeload.github.com/Yodlee/jwt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yodlee%2Fjwt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264652711,"owners_count":23644316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jwt","jwt-token","yodlee"],"created_at":"2024-11-21T01:13:13.379Z","updated_at":"2025-10-16T02:06:07.191Z","avatar_url":"https://github.com/Yodlee.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"// Settings:\n:linkattrs:\n:idprefix:\n:idseparator: -\n:!toc-title:\nifndef::env-github[:icons: font]\nifdef::env-github,env-browser[]\n:toc: macro\n:toclevels: 1\nendif::[]\nifdef::env-github[]\n:branch: master\n:outfilesuffix: .adoc\n:caution-caption: :fire:\n:important-caption: :exclamation:\n:note-caption: :paperclip:\n:tip-caption: :bulb:\n:warning-caption: :warning:\nendif::[]\n// URLs\n:url-yodlee-com: https://www.yodlee.com\n:url-yodlee-dashboard: https://developer.yodlee.com/api-dashboard\n:url-yodlee-api-docs: https://developer.yodlee.com/apidocs/index.php\n:url-yodlee-getting-started: https://developer.yodlee.com/docs/api/1.1/getting-started\n:url-jwt-rfc: https://tools.ietf.org/html/rfc7519\n:url-jwt-io: https://jwt.io/\n:url-license-badge: https://img.shields.io/badge/license-MIT-blue.svg\n\nimage:{url-license-badge}[MIT License, link=#copyright-and-license]\n\n# JWT IS DEPRECTATED FOR YODLEE CLIENTS IN FAVOR OF CLIENT CREDENTIAL AUTHENTICATION.  THIS REPOSITORY IS NO LONGER MAINTAINED, AND YODLEE RECOMMENDS DISCONTINUED USE OF THIS LIBRARY. \n\n[discrete]\n= Working with JSON Web Tokens\n\ntoc::[]\n\n== About JSON Web Tokens\n\nJSON Web Tokens (JWTs) are an {url-jwt-rfc}[open standard] for securely making claims.\nIdentity is one example of a claim.\nHence JWTs underpin one authentication approach used by {url-yodlee-api-docs}[Yodlee APIs].\nJWTs are a convenient alternative to SAML authentication used by large financial institutions.\n\n=== Where to find more info on JWTs\n\nThe website {url-jwt-io}[jwt.io] has an array of useful information.\nIt has a debugger, allowing you to paste in a token and your key.\nIt will decode it, or issue an error, allowing you to confirm that your code works.\nThe site also has many open source libraries for token processing.\n\n=== Yodlee Token Types\n\nYodlee JWTs come in two varieties: app tokens, and user tokens.\nYou use one or the other depending on the specific Yodlee API.\n\nApp tokens have the \"issuer id\" value from your {url-yodlee-dashboard}[developer dashboard].\nThis identifies you, the app developer.\n\nApp tokens are only needed for Yodlee APIs that provide general information.\n\nUser tokens have all the same information as an app token, along with one extra field, a user id.\nThe id represents the specific end user you are working with (i.e. your client).\n\nUser tokens are used for Yodlee APIs that return information regarding a particular end user.\n\nIn the developer portal, users are identified by 20-character unique strings that you (the developer) assign to keep track of your users.\nYou can see a list of 5 predefined test users in your developer account dashboard.\nThey have this general appearance: \"sbMem5c758c82bb1d12\".\n\nOutside the developer portal, your app can use any scheme you find convenient to create and assign unique ids to your end users.\nThey can be from 3 to 150 characters in length.\n\nRead the documentation {url-yodlee-getting-started}[here] for more information on using JWTs with Yodlee APIs.\n\n== About the Applications\n\nThis repositoriy includes sample programs showing how to work with JWTs in:\n\n- link:java[Java]\n- link:csharp[C#]\n- link:node[Node]\n- link:python[Python]\n- link:ruby[Ruby]\n- link:php[PHP]\n\nAfter you clone this repository, select the subdirectory that references your language of choice.\n\nEach subdirectory has language-specific installation and usage instructions in the related README file.\n\n=== Generate (JWT generation sample)\n\nOne set of samples included here show how to generate JWTs.\nSee the code under the `generate` directories.\n\nTo generate a JWT, you need your issuer id and private key from your \n{url-yodlee-dashboard}[developer account dashboard].\n\nCopy/paste your private key into a file.\nYou'll need to supply the file path to the application.\nThe private key is given to you in PEM format, which uses a limited\nset of ASCII characters, allowing easy copy/paste.\n\nKeep your private key secret and do not share with others.\n_Never put your private key into an app or on a mobile device._\n\nAll the applications require arguments, and the formats are very similar.\n\n* The `-i` or `--issuer-id` argument is required, and should reference your *Issuer Id* in the link:{url-yodlee-dashboard}[Yodlee Dashboard].\n* The `-k` or `--key` argument is required, and should reference the path to a copy of your private key in PEM format.\n* the `-u` or `--username` argument is optional, and should reference a valid *username* in your environment.\n\nBy passing in a `--username` argument, you will be generating a *user token*.\nOtherwise, you will be generating an *app token*\nSee link:#yodlee-token-types[Yodlee Token Types].\n\nA typical invokation of one of the apps will look like\n\n```bash\n$ generate --key private.pem --issuer-id f4d3dc80-885cbe1f-5f2b-4c74-0097-39dc59ae751c\n```\n\nThat version doesn't include a username, so that will produce an application token.\n\nUsing short form options, we have\n\n```bash\n$ generate -k private.pem -i f4d3dc80-885cbe1f-5f2b-4c74-0097-39dc59ae751c -u sbMem5c758c42bb1d12\n```\n\nThat will produce a user token.\n\n== Copyright and License\n\n*Copyright 2019 © link:{url-yodlee-com}[Envestnet | Yodlee,window=_blank]*\n\nFree use of this software is granted under the terms of the MIT License.\nSee *link:LICENSE[]* for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyodlee%2Fjwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyodlee%2Fjwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyodlee%2Fjwt/lists"}