https://github.com/kaufmanhenry/micro-strava-auth
🏃 A microservice for OAuth with Strava.
https://github.com/kaufmanhenry/micro-strava-auth
micro microservice nodejs strava stravaapi
Last synced: about 1 month ago
JSON representation
🏃 A microservice for OAuth with Strava.
- Host: GitHub
- URL: https://github.com/kaufmanhenry/micro-strava-auth
- Owner: kaufmanhenry
- License: mit
- Created: 2017-09-22T21:18:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T09:57:10.000Z (over 3 years ago)
- Last Synced: 2025-06-17T20:35:25.158Z (12 months ago)
- Topics: micro, microservice, nodejs, strava, stravaapi
- Language: JavaScript
- Homepage: https://micro-strava-auth.henry.now.sh
- Size: 182 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :running_man: micro-strava-auth
A microservice for OAuth with Strava. Similar to [micro-slack-auth](http://github.com/hcjk/micro-slack-auth) for auth with Slack.
## Getting Started
In order to run `micro-strava-auth`, you need to make sure you have your environment variables setup correctly. Make a copy of `.env.example`, name it `.env`, and update it with your Strava variables.
Here's an example:
```sh
# Your Strava application client ID
STRAVA_CLIENT_ID=1234
# Your Strava application client secret
STRAVA_CLIENT_SECRET=1234
# The URL to redirect a user to after they successfully connected their account
STRAVA_REDIRECT=https://google.com
```
The result from a successful authentication is provided in the query params of the redirect.
## Development
If you find an issue, feel free to [open an issue](https://github.com/hcjk/micro-strava-auth/issues).
```shell
git clone git@github.com:hcjk/micro-strava-auth.git
npm run dev
```
## License
MIT © [Henry Kaufman](https://github.com/hcjk)