An open API service for software projects hosted on Open Collective.

github.com/obsproject/obs-oauth-cf

OBS Studio service integration OAuth on Cloudflare Workers
https://github.com/obsproject/obs-oauth-cf

Migrate workflow to wrangler 3

`wrangler publish` is deprecated in favor of `wrangler deploy`

039c64c4e9a097a7e536a714b2e92477e98723be authored about 2 years ago
Make Twitch config getter private

0788e0bc05017cfb9fccdcb9b624a4ebc25298df authored about 2 years ago
Refactor platforms config getter

892f7f83a7641b005ba23b685d055e0732fe3f5d authored about 2 years ago
Fix workflow

https://github.com/obsproject/obs-oauth-cf/pull/1 introduced a unneeded
space in the workflow file.

faba69a27c5a9ee5282c60db4bd21d70b3c8f76f authored over 2 years ago
Migrate to Wrangler 2

Wrangler (legacy) is depecated and no longer supported by CloudFlare.

`wrangler build` has been...

ae8df6d2fa46896b00b7c847849b1ad5ffad00b9 authored over 2 years ago
Add wiki article to README

7cc0eee83c83014461e6915970d3286bbc7f75c0 authored over 3 years ago
Make rust clippy happy

6fb6fbf1f1199c902e998d4e268b710d62950425 authored over 3 years ago
Bump version

ef710d7e2c9e084fe46ae984a1fee3b6eea423bf authored over 3 years ago
Properly handle Cloudflare Workers Fetch errors

I don't know why they went this route. It's annoying.

eae8ff67a9ce40b08e916601566c2a28a82b7c26 authored over 3 years ago
Include JSON decode error message in response

d009cc9dc8c0ea9aa49b7366b0f2acbdc7cb0a09 authored over 3 years ago
Gracefully handle missing form fields

8061e434878b68126397ad4309b9cf92ca88def9 authored over 3 years ago
Some cleanup and additional error handling

6869f2d4d6549b842f3a34ad72c9a0ee2b0e50d8 authored over 3 years ago
Apply new formatting options

7a0ab2ba59c13094520f426027941a02a146fde5 authored over 3 years ago
Add rustfmt config file

1e54bf0c7f5ef99195200e90e6528589ab05c253 authored over 3 years ago
Update Cargo.toml with repo/license/etc.

In reality this commit mainly exists to make sure that the rust cache
is actually doing something.

8832c30811119cd5dcefbd0c9d35837bffa3d828 authored over 3 years ago
Add rust-cache to workflow

0425f365b3e20e8c5c7b208afe827554868d5e80 authored over 3 years ago
Run wrangler manually since cf action doesn't support rust :(

3f338241a0e07b8ff178c8373dfe2273a0f66155 authored over 3 years ago
Allow publishing via manual workflow trigger

cf3fe7c599b075e2d008880f478263822d28772e authored over 3 years ago
Fix restream scope

7ceac6c455920771a00e46d81c953ada807309ba authored over 3 years ago
Create redirect response in platform code

This makes it consistent with "get_token", and also
now shows a proper error if any environment ...

53f878a0ca2a5ed538bd9274fc771043ac68bc67 authored over 3 years ago
Switch to serde_urlencoded

Faster and deterministic results

259c1e35b953ebef80d673fa5b3f439123ddd93e authored over 3 years ago
A bunch of small cleanup changes

cf9360191b245c141e4d694cbcadea749583bf1a authored over 3 years ago
Add catchall handler for custom 404 message

8ddb0525d8a44cf7eef8953711a4decac20290c8 authored over 3 years ago
Remove unnecessary (and wrong) error handler

This should only trigger on 500 errors so 400 is wrong.
For those we can just let the entire thi...

3860a4e59a9e3a42fc3b97717b55f21954ba18d4 authored over 3 years ago
Improve error handling in case Fetch'ing fails

3a99acf1a4777aeeec06cec83e3766a14a49ffd2 authored over 3 years ago
Adjust return URL route

51a71e8fc6a5e428c2b87a0d4f8c3f6de6adeeb3 authored over 3 years ago
Add handlers for legacy paths

e422868e959494abd7f97d9d11a8a20bbe5624fd authored over 3 years ago
Refactor OAuth implementation

- Move OAuth functions into shared oauth.rs
- Add config struct for OAuth
- Move utils.rs into o...

a97c3213fc4d2dee803af57b1ff4edd4f1658207 authored over 3 years ago
Remove no longer required secrets from deploy workflow

da8943a09a758a7c826b6558213b7b574ba85d12 authored over 3 years ago
Add redirect URLs as variables in wrangler.toml

704ac803b30ac2eb1bdaf2b269c85620ccb84e4e authored over 3 years ago
Update README

429f2c697b49563435d540b44de9935c596ab16d authored over 3 years ago
Add LICENSE

Apache 2, that's what the workers framework uses.
GPL doesn't really make sense here.

bae152ba43bb4adf71ed54fd4a1a6680dc6438eb authored over 3 years ago
Update deploy with restream secrets

119ce985eef888b40efb7c64bfccb3b467e7694f authored over 3 years ago
Add restream support

183aec61db31753764dcaada7d167e535fb41370 authored over 3 years ago
Move get_param_val to utils

03490b1114682db0ce490b4a205ca1e12fd301ee authored over 3 years ago
Some cleanup and parameter renaming

1855e18118e3501d0812a1aa0ade905582a1ad68 authored over 3 years ago
Add CF deploy workflow

1ea3590bfd6dfc4a10fefc1f72c77d1d8f9fc0b0 authored over 3 years ago
Update README

70826f7417f707e1d52c5e1507e70f5ff1eb854b authored over 3 years ago
rustfmt everything!

4a0938dc286df87ffec2b96e427da483e358a31c authored over 3 years ago
Use native workers::Fetch instead of reqwest

58b223960352bca51679f5752ea53cee26ecc1dd authored over 3 years ago
Add initial code version

b8a7a69a52a4b293e8f767355ebde0ee94dd8ea2 authored over 3 years ago
Initial commit

dc9d2fa8a580d785494be484aa5592a60cd8fc6c authored over 3 years ago