Commit Graph

7 Commits (e6160a2f94d65b1a72df06b667b8c8d0c21d00e5)

Author SHA1 Message Date
Younis e5f383787c
feat(oauth-providers): Add Twitch OAuth Provider (#981)
* feat(twitch): Add type definitions for Twitch OAuth scopes

* feat(twitch): Add additional type definitions for Twitch moderator scopes

* feat(twitch): Add IRC and PubSub-specific chat scopes to types

* feat(twitch): Add new type definitions for Twitch API responses

* feat(twitch): Add new user-related scopes for Twitch API

* feat(twitch): Add type definitions and import paths for Twitch provider

* feat(twitch): Implement Twitch OAuth handlers and response types for mock api

* feat(twitch): Add revokeToken function to handle OAuth token revocation

* feat(twitch): Add Twitch OAuth middleware mocks and tests

* feat(twitch): Implement Twitch OAuth authentication flow and user data retrieval

* feat(twitch): Add custom state handling for Twitch OAuth middleware

* docs(twitch): Update README with Twitch OAuth integration details

* docs: Update Twitch API reference link for scopes in README

* fix(twitch): Remove error handling for error_description in auth flow

* refactor(twitch): Update token handling and response types for refresh and revoke

* feat(twitch): Add token validation function for Twitch OAuth

* feat(twitch): Add token validation handler and update response types

* docs: Add token validation section to README for Twitch integration

* chore(oauth-providers): changesets summary

* fix(twitch): make redirect_uri optional in twitchAuth options

* refactor(twitch): clean up commented code and improve test assertions

* refactor(twitch): improve type assertions for JSON responses

* refactor(twitch): update type assertion for JSON response handling

* semver amendment

Changed version from patch to minor

* docs: update README with token validation instructions for Twitch

---------

Co-authored-by: Younis-Ahmed <23105954+jonaahmed@users.noreply.github.com>
2025-03-12 17:55:47 +09:00
Wang Guan e54c628751
feat(oauth-providers): allow custom redirect_uri (#601)
* oauth-providers: allow set of redirect_uri

* only check state in req with auth code

* update readme.md

* add changeset file

* update readme

* run lint:fix

* add test

* test other providers

* revent unreleated test
2024-07-19 07:43:18 +09:00
Carlos Sanjines Aldazosa cef4be898a
fix(oauth-providers): OAuth Providers Github App email problem (#421)
* [UPDATE (OAuth Providers): Github] request emails if Github App

* changlog

* [FIX: changeset] minor bump instead patch bump
2024-03-20 14:37:16 +09:00
Yusuke Wada e8b494b207
chore: add lint rule and format (#367)
* chore: add lint rule and format

* fix ci

* add typescript

* yarn install

* add `@cloudflare/workers-types`
2024-01-29 22:53:43 +09:00
Carlos Sanjines Aldazosa 8841b6427d
feat(oauth-providers): Discord (#342) 2024-01-08 05:22:20 +09:00
Carlos Sanjines Aldazosa aa9527b9e7
feat(oauth-providers): Add X (Twitter) to OAuth providers (#283)
* [FEAT] x (Twitter) provider

* [UPDATE] replace crypto-js with native api

* [UPDATE] Remove unused dependencies
2023-12-09 09:18:12 +09:00
Carlos Sanjines Aldazosa d2696c46ba
Oauth providers (#262)
* [FEAT] facebook and google authentication

* [FEAT] github authentication

* [FEAT] linkedin authentication

* [TEST] all methods tested

* [UPDATE] open-auth middleware split

* [UPDATE] auth packages merged into oauth-provider

* docs: format README

* fix: fix `package.json`, prettify, rename something

* fix: use `ContextVariableMap`

* docs: update README

* make it as a minor release

* [FIX: linkedin] path name

* [UPDATE: linkedin] pathname

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-11-27 21:33:31 +09:00