Comments (11)
fixed by #98
will be available in supabase dashboard for new projects this evening
for existing projects it will be shipped tomorrow
from auth.
I can create a PR for this, if it is of interest
from auth.
some initial work here: #96
from auth.
I started work on this but found that twitter doesn't use oauth 2.0 for accessing the user's email address:
from here
the flow is therefore different to what we use for the other providers: https://developer.twitter.com/en/docs/authentication/oauth-1-0a/obtaining-user-access-tokens
so I'm not sure how relevant our existing methods like
p.Exchange(oauth2.NoContext, code)
are in this approach
from auth.
Would love to have Twitter as an option for auth. Looks like the NextAuth folks had to go with OAuth 1.0A https://github.com/nextauthjs/next-auth/blob/main/src/providers/twitter.js
from auth.
would be amazing @Eduardogbg !
from auth.
Cool, I'll look into it!
from auth.
@awalias it seems like the OAuth 2 protocol is fundamentally different from the OAuth 1.0 and as so I don't think we'll be able to reuse much from the OAuth providers code. If I can create an external dependency on a OAuth 1.0 library it would be easier, but I also understand if that's not preferred.
Also, I'm afraid some of the interfaces named OAuth could be confusing, as they wouldn't be satisfied for the OAuth 1.0 providers. That can be solved either by refactoring them to more generic ones (but I'm not sure that's either possible or good idea) or by renaming them to be OAuth 2 specific.
from auth.
If I can create an external dependency on a OAuth 1.0 library it would be easier
I'm happy to proceed on the basis of ease of implementation, we can optimize later if needed
I'm afraid some of the interfaces named OAuth could be confusing
perhaps we can use TwitterOAuth
or OAuth1_0a
for anything twitter specific. And can always refactor if we require other OAuth 1.0 providers ?
from auth.
might be useful: https://github.com/markbates/goth/blob/19c3059c9ed44995940c8222a8eda10f6b604e01/examples/main.go#L75
from auth.
previous PR superseded by #95
from auth.
Related Issues (20)
- Invalid HELO message for smtp relays - w/Solution Proposal HOT 1
- Signout fails after user account has been deleted
- Facebook Social Auth signInWithIdToken needs custom parser
- AuthApiError: Error invoking access token hook. HOT 7
- Anonymous user identity not linking HOT 3
- Error when using oauth with provider linkedin_oidc - Error getting user profile from external provider HOT 10
- The docker self hosting SERVICE_ROLE_KEY and ANON_KEY generators seem to be broken: HOT 1
- Keycloak Authorization PKCE s256/S256
- Unable to delete user if `encrypted_password` is set to `null` HOT 1
- `supabase.auth.admin.updateUserById()` return error `AuthRetryableFetchError status 504` HOT 1
- LinkedIn Auth Errror - OIDC: id token issued by a different provider HOT 8
- OAuth - State parameter not working HOT 1
- Error getting user email from external provider only with public Azure /consumers/ tenant
- Cant log out deleted user with supabase.auth.signOut() HOT 3
- jwt anonKey and serviceKey with valid iss value HOT 1
- Can't send OTPs with MessageBird for Auth - access key invalid HOT 2
- Apple Native Sign In : { "__isAuthError": true, "name": "AuthApiError", "status": 400 } HOT 2
- Event indicating that the confirmation of `updateUser` was successful HOT 2
- AuthApiError: Error invoking access token hook with custom claim HOT 8
- auth.sms.test_otp w/ international numbers HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth.