# Auth0 Community OSS: auth0-ruby-api-samples

**URL:** <https://community.auth0.com/t/auth0-community-oss-auth0-ruby-api-samples/15972>\
**Category:** Get Help\
**Tags:** open-source, api\
**Created:** [September 26, 2018, 5:30pm UTC](https://community.auth0.com/t/auth0-community-oss-auth0-ruby-api-samples/15972 "2018-09-26T17:30:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [September 26, 2018, 5:30pm UTC](https://community.auth0.com/t/auth0-community-oss-auth0-ruby-api-samples/15972/1 "2018-09-26T17:30:35Z")

</div>

# Auth0 Ruby API Samples

These samples demonstrate how to create an API with Ruby which only permits access to resources if a valid **access token** is included. This verification is done by validating the signature and claims in a JSON Web Token (JWT) signed by Auth0.

These samples do not demonstrate how to sign a JWT but rather assume that a user has already been authenticated by Auth0 and holds an access token for API access. For information on how to use Auth0 to authenticate users, see [the docs](https://auth0.com/docs).

[https://github.com/auth0-community/auth0-ruby-api-samples](https://github.com/auth0-community/auth0-ruby-api-samples)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 22, 2019, 2:35pm UTC](https://community.auth0.com/t/auth0-community-oss-auth0-ruby-api-samples/15972/2 "2019-08-22T14:35:14Z")

</div>

Let us know if you have any questions about the tool hosted in the repo either here or in the issues / PRs section of the repo!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 22, 2019, 2:35pm UTC](https://community.auth0.com/t/auth0-community-oss-auth0-ruby-api-samples/15972/3 "2019-08-22T14:35:16Z")

</div>


