https://github.com/propeldata/propel-oauth-2-examples
Code examples for fetching oauth-2 credentials to use with the Propel GraphQL API
https://github.com/propeldata/propel-oauth-2-examples
graphql jwt jwt-authentication jwt-token oauth2 oauth2-client
Last synced: 3 months ago
JSON representation
Code examples for fetching oauth-2 credentials to use with the Propel GraphQL API
- Host: GitHub
- URL: https://github.com/propeldata/propel-oauth-2-examples
- Owner: propeldata
- Created: 2023-11-05T18:45:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T06:46:46.000Z (about 2 years ago)
- Last Synced: 2025-04-25T13:59:56.347Z (about 1 year ago)
- Topics: graphql, jwt, jwt-authentication, jwt-token, oauth2, oauth2-client
- Language: C#
- Homepage: https://www.propeldata.com
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Multi-Language OAuth Token Fetcher
Welcome to the Multi-Language OAuth Token Fetcher project. This repository contains examples and tests for fetching OAuth tokens using various programming languages. The purpose of this project is to illustrate how to implement OAuth 2.0 client credentials flow in different tech stacks.
## Project Structure
The project is organized into multiple directories, each corresponding to a specific programming language. Within each directory, you'll find a practical implementation example and tests to verify the correct creation of OAuth tokens.
Here's what you can expect in each directory:
- `/javascript`: Contains JavaScript example using `simple-oauth2`.
- `/typescript`: Contains TypeScript example using `simple-oauth2`.
- `/python`: Contains Python example using `requests-oauthlib`.
- `/golang`: Contains Go example using `golang.org/x/oauth2`.
- `/dotnet`: Contains .NET example using `IdentityModel`.
- `/rust`: Contains Rust example using `reqwest`.
- `/ruby`: Contains Ruby example using `oauth2`.
- `/java`: Contains Java example using `scribejava-core`.
Each directory has its own `README.md` file with detailed instructions on setting up the environment, installing dependencies, and running the tests.
## Getting Started
To get started with this project:
1. Clone the repository to your local machine:
git clone
2. Navigate into the directory of the language you're interested in.
3. Follow the language-specific `README.md` for instructions on how to install dependencies and run the project.
## Prerequisites
Before running any code, make sure you have the following:
- Git installed on your system.
- Appropriate language-specific environment setup (links to each environment setup guide are provided in the language directories).
## Language-Specific Guides
For detailed instructions on how to run each language example, please refer to the respective `README.md` files:
- [JavaScript README](./javascript/README.md)
- [TypeScript README](./typescript/README.md)
- [Python README](./python/README.md)
- [Golang README](./goland/README.md)
- [DotNet README](./dotnet/README.md)
- [Rust README](./rust/README.md)
- [Ruby README](./ruby/README.md)
- [Java README](./java/README.md)
## Contributing
We welcome contributions from the community. If you wish to contribute to this project, please fork the repository, make your changes, and create a pull request.
## Support
If you encounter any issues or require assistance, please open an issue in the repository, and a maintainer will help you.
## License
This project is licensed under the [MIT License](./LICENSE).
## Acknowledgments
- Thanks to all of our customers who want to empower _their_ customers with better access to data!
---
Made with 💜. Powered by [Propel](https://www.propeldata.com)! 🚀