primordic/IssueDupesLite huggingface dataset:
Repository: streamlink/streamlink-twitch-gui

Issue #898: Sorting Ability (by Most-Recent)
Created: 2022-06-22T07:27:36Z
Checklist

 I understand that Streamlink Twitch GUI is just a launcher for Streamlink
 I have read the contribution guidelines
 I have checked the list of open and recently closed issues
 I have checked the commit log of the master branch

Description
The ability to sort panels of channels + streams would be great, especially the "Streams" tab, being able to sort by "Most Recent".
This would be most useful if one has missed a stream-live alert or wants to reference a stream(s) that recently went live, enabling one to click the "Streams" tab and, rather than the tab being sorted by viewer-count, the user could switch to a "Most-recent(ly live)" sort, providing quick and easy access to the most recent live-streams.
Currently, the "Streams" tab being sorted by viewer-count makes it difficult to find a particular stream you're looking for, since you won't have knowledge of its current viewer-count, thus having to hunt around a grid of streams in essentially "random" order. Even big channels which would typically be at the top of the list with big viewer counts, when newly live, they'll have lower viewer counts, getting lost in the mix of streams.
Even just the ability to sort the list alphabetically would be useful for being able to quickly find a particular channel amongst the list of channels that are currently live.

Duplicate issue #907: Consider adding “recently started” to sort channels in a category
Created: 2022-09-04T19:09:09Z
Checklist

 I understand that Streamlink Twitch GUI is just a launcher for Streamlink
 I have read the contribution guidelines
 I have checked the list of open and recently closed issues
 I have checked the commit log of the master branch

Description
unfortunately, there is no sorting option for channels inside a category. currently, it is sorted by viewers (high to low), and there is no way to change this. I thought this project gives the user the power to choose what's the best for them, not indulging Twitch's vision of promoting big streamers to be bigger. hope you consider it.
thank you so much for your time and effort you put in making this.

Closing comment (2022-09-04T19:13:12Z): unfortunately, there is no sorting option for channels

Indeed, because Twitch doesn't support it.
https://dev.twitch.tv/docs/api/reference#get-followed-streams
https://dev.twitch.tv/docs/api/reference#get-streams
Duplicate of #898
Repository: streamlink/streamlink-twitch-gui

Issue #530: Stream preview transparency too low
Created: 2018-01-14T23:22:20Z
Checklist

 This is a bug report.
 This is a feature request.
 I understand the difference between Streamlink and Streamlink Twitch GUI.
 I tried solving my issue by reading the project's wiki first.
 I have read the contribution guidelines und used the search function to find already existing threads.

Description
The transparency of Stream previews is way too low (dark and light skin). It would be nice to have an option to customize this.
Expected / Actual behavior
Stream titles should be easily readable, even if not mouse-hovered.
Environment details
Operating system and version: Windows 7
Streamlink Twitch GUI version: 1.4.1
Streamlink version: not sure
Configuration details: dark skin
Comments, logs, screenshots, etc.
Non-hovered state:
https://imgur.com/hj5gh7n

Duplicate issue #543: Non illuminated channel search HUD is annoying
Created: 2018-03-02T20:56:47Z
Thanks for reporting an issue!
Please read the contribution guidelines first! (see the link above)
Feel free to use the following template. Be as detailed as possible.
Please see the text preview to avoid unnecessary formatting errors.
Don't forget to remove this text before submitting.

Checklist

 This is a bug report.
 This is a feature request.
 I understand the difference between Streamlink and Streamlink Twitch GUI.
 I tried solving my issue by reading the project's wiki first.
 I have read the contribution guidelines and used the search function to find already existing threads.

Description
Under the Browse > Streams section all of the channels appear dim until I mouse over them.
...
This is annoying, the previous "livestreamer Twitch GUI" had ALL channels brightly illuminated so you can clearly see the previews and game title.
Expected / Actual behavior
Fully illuminated channels for easy browsing.
...
Dimly lit streams which can only be fully seen upon mouse over, making channel browsing slow and troublesome.
Reproduction steps

... Look at the channels and notice they are hard to see / read.
...
...

Environment details
Operating system and version: ... 8.1 windows x64
Streamlink Twitch GUI version: ... 1.4.1 windows x64
Streamlink version: ... 0.10.0
Configuration details: ... dark mode for GUI
...
Comments, logs, screenshots, etc.
screen shot for reference.

Closing comment (2018-03-02T20:59:03Z): Duplicate of #530 and #534 which has already been fixed on the master branch
#534 (comment)
Select a language in the settings menu or select all languages in order to fix it for now
Repository: streamlink/streamlink-twitch-gui

Issue #193: Ability to filter out games from 'Top Games'
Created: 2016-01-10T19:14:54Z
First of all, thanks for all your work. This is just a small feature request, not really a priority thing.
Sometimes I scroll through the 'Top Games' section to discover new streamers, but I often feel like it is flooded with certain games that I don't really care about and I have to scroll through dozens of them.
It would be convenient to have an option on the Games' page to hide it's streamers from the 'Top Games' section.

Duplicate issue #364: Filter specific games from the Top Games/Top Channels view
Created: 2016-12-10T17:34:34Z
There's quite a few popular games on Twitch that I don't really have any interest in watching, mainly Dota and League. It'd be very useful to have an option to filter out specific games like those to make browsing for something to watch through the Top Games/Top Channels view much easier.

Closing comment (2016-12-10T18:04:39Z): Duplicate of #193
Repository: stripe/stripe-android

Issue #53: Feature Request: Credit Card Number text formatter
Created: 2016-01-04T19:19:01Z
Can you please provide a text formatter for the credit card numbers? It seems like cards do not always follow XXXX-XXXX-XXXX-XXXX pattern, would be really nice to have a TextWatcher or something of that nature.
Without it, CC input is a bit tedious!

Duplicate issue #13: Example app does not separate the card number groups
Created: 2014-03-25T20:46:12Z
A card with the number 4242 4242 4242 4242 is shown as 4242424242424242.

Closing comment (2016-11-14T23:59:23Z): This is set as a feature request and being tracked in #53 , so I'm going to go ahead and close it here.
Repository: stripe/stripe-android

Issue #1966: Version 12.7.0 material-version
Created: 2019-12-18T10:09:37Z
Summary
Version v12.7.0 broke  our app, as it imports com.google.android.material:material:1.2.0-alpha2.
Code to reproduce
Have a project which uses com.google.android.material:material:1.0.0, and get com.google.android.material:material:1.2.0-alpha2 by importing com.stripe:stripe-android:12.7.0.
Android version
Android  9 and 10, at least
Installation method
Gradle
SDK version
12.7.0 (and 12.8.0)
Other information
Why are we using alpha-packages in a stable-release?
Why does stripe-android and stripe-3ds2-android use different material-versions?
How should a consumer of stripe-android deal with the different dependency-versions?
Issue originated from PR #1946

Duplicate issue #1960: Error: Duplicate value for resource 'attr/number' with config ''.
Created: 2019-12-17T19:16:34Z
Summary
After update from v.12.6.1 to v.12.7.0 I get error when I try to make rebuild.

I didn't find this attr in Stripe SDK source code but I think it's come from 3DS2 SDK (2.2.5).
SDK version
v.12.7.0

Closing comment (2019-12-18T16:05:53Z): @sergey-belenkiy I believe this is related to #1966. I'm releasing 12.8.1 shortly. If you're still experiencing this issue after upgrading, please reopen.
Repository: stripe/stripe-android

Issue #2341: When adding a card, it should be selected automatically 
Created: 2020-04-02T13:30:13Z
Summary

In the Stripe iOS SDK, when adding a card, it is selected automatically, see in this video.
In the Stripe Android SDK, when adding a card, it is not selected automatically, see in this video.

This makes the android card adding process confusing since people don't realize they need to click on the card again to have it selected.
Android version
All versions.
Installation method
Installed it as an independent module
SDK version
12.8.2

Duplicate issue #2327: After adding a credit card, it should be set as the default card
Created: 2020-03-27T14:16:01Z
Added credit card should be selected
It's not intuitive for users to select after adding a credit card. It'd be very helpful if the added card was selected after adding it.

Closing comment (2020-04-07T20:14:54Z): Duplicate of #2341
Repository: stripe/stripe-android

Issue #2915: Wrong localization for non es-ES spanish locale
Created: 2020-10-05T21:14:09Z
Summary
While trying to tokenize a test card I'm getting a non lokalized (english when it should be spanish) error string from the sdk.
The device is in es-CL locale.
Test card I'm using (JCB):
Number: 3566 1111 1111 1113
Exp. date: 12/22
CVV: 123
Code to reproduce

Android version
It happens in different android versions but I'm using android 10.
Impacted devices
It happens in different phones but I'm using a oneplus 6.
SDK version
16.0.0
Other information
When I use es-ES locale the error is well localized.

Duplicate issue #5074: [BUG] Localized error strings not being translated to Spanish
Created: 2022-05-26T06:46:37Z
Summary

I'm using flutter_stripe package for an app developed in Flutter. After some initial setup, this package automatically sets the payment bottom sheet language to the language configured on the cell phone.
We're working in Spanish es-ES. The bottom sheet certainly shows in Spanish, but the localizad error messages are always shown in English. For example, when closing the sheet without paying, a StripeException is received with a LocalizedErrorMessage. The localizedMessage property is supposed to be translated, but it is not.
I asked a question to this flutter package support and I was told the localized messages come directly from the native Stripe SDK, they're a bridge to Flutter so I should open a case here. I'm sorry I can't really give you more details on the problem since I don't know the way this package works internally.
Android version


Tested on Android 6, 10 and 11. iOS 15.4.1
Installation method

Through flutter_stripe package.
Other information

This problem is actually happening in iOS as well, but anyway I was told to report to the native SDK.
This is the same issue reported to the iOS SDK, but I have received no response.
SDK version from iOS:
Stripe 22.0.0 from Podfile.lock
If there's anything else you can explain me to verify so I can give you better information, please let me know. Thanks!

Closing comment (2022-05-31T13:01:59Z): Might be related to #2915
Repository: stripe/stripe-android

Issue #557: [Question]  CardMultilineWidget error color
Created: 2018-04-20T20:04:00Z
It's possible to change the inputs error color? The CardInputWidget has a property stripe:cardTextErrorColor="@color/colorAccent" , but does not works in multiline widget.

Duplicate issue #595: CardMultilineWidget doesnt change error text color
Created: 2018-06-23T14:05:18Z
Hi, i use CardMultilineWidget in my android application and i want to customize all text colors in this widget. And i can to make it with all texts except errors ("Your card`s number is invalid", for example), it always red. Is there a way to change this color?

Closing comment (2018-07-03T23:17:10Z): Duplicate #557
Closing.
Repository: stripe/stripe-android

Issue #38: Request to upload the latest release to maven repo for android-strudio access
Created: 2015-03-09T15:02:51Z
Hi!
Could you please upload the latest release (1.0.1) to the maven repo such that it's available from the gradle build? Currently only 1.0.0 version is there:
http://search.maven.org/#browse%7C1181361068
Thanks in advance!

Duplicate issue #46: Publish 1.0.1 to maven
Created: 2015-07-18T14:38:09Z
You can see here https://github.com/stripe/stripe-android/releases a 1.0.1 version but in public repo is only available 1.0.0, why? is there a changelog?

Closing comment (2016-01-06T09:17:17Z): Duplicate of #38.
Repository: stripe/stripe-android

Issue #486: Adding card using NFC and/or card.io
Created: 2017-12-04T11:40:52Z
Hi Stripe, feature request/discussion:
A lot of Android's have the ability to read cards with NFC/contactless with a library like this https://github.com/pro100svitlo/Credit-Card-NFC-Reader
We're thinking of integrating that library + use stripe's programmatical .set's
Is this something that could be added to Stripe's library?
I haven't seen any apps other than demo apps using contactless, does anyone have any thoughts on security/UX?
We'd also like to give the option to use the camera to add. Something like card.io, but the android library seems to be in a poor state. Is that something Stripe could ever work on?

Duplicate issue #2344: Why Card.io for scan is not available in Android like iOS?
Created: 2020-04-03T10:16:30Z
Summary

I want to add scan card functionality like ios, but I am not able to find an option to add that functionality.
Android version

Any
Installation method

I added using gradle dependencies.
SDK version

'com.stripe:stripe-android:11.1.1'

Closing comment (2020-04-03T14:41:57Z): @ChiragSavsani closing as this is a duplicate of #486
Repository: stripe/stripe-android

Issue #541: Delete card option on payment methods list
Created: 2018-03-20T13:28:02Z
This option is available on iOS. Do you plan on adding it to android also? If yes do you know when?

Duplicate issue #498: Possibility to remove a source.
Created: 2017-12-20T11:03:31Z
Hey,
I am trying to delete a customer source using a custom UI by calling this :   customer.sources.remove(CustomerSource) , the source is deleted but somehow the customer is not updated, so whenever I refetch the customer I still see the deleted source.
Is there any way to successufully perform the deletion ?

Closing comment (2019-06-03T05:39:08Z): I'm also looking for some clarity here. Is this something that will have its UI updated to match the iOS sdk behaviour?
Same as #541
Repository: stripe/stripe-android

Issue #2640: Support for ActivityResultContract
Created: 2020-07-10T12:42:13Z
Summary

With onActivityResult being deprecated and it being suggested to use registerForActivityResult I am hoping that the sdk can add support for this. A simple example can be found here: https://developer.android.com/training/basics/intents/result#custom
Code to reproduce

This is particular important when calling handleNextActionForPayment or any of the other methods that will require to use onActivityResult
Possible solution
An easy solution could be to expose the intent somehow via the handleNextActonPayment, or have a seperate method that returns the ActivityResultContract that then can be used to start the activity instead of how it currently works.
I am happy to add some more details if required or even attempt to fix this with some guidance and what the stripe engineers would like to see as a good approach.

Duplicate issue #3369: Make use of ActivityResultRegistry / ActivityResultContract
Created: 2021-02-10T21:42:04Z
Hi,
Today marks the release of stable version of the Activity v1.2.0, and was wondering if there are plans of expanding handleNextActionForPayment() and handleNextActionForSetupIntent() APIs to support ActivityResultRegistry/ActivityResultContract to simplify the interaction with the SDK and make it more type-safe.

Closing comment (2021-05-28T13:48:35Z): Duplicate of #2640
Repository: supabase/auth

Issue #313: Link Multiple Auth Providers to an Account
Created: 2021-07-26T05:09:56Z
https://firebase.google.com/docs/auth/android/account-linking

Duplicate issue #1109: Users not getting merge when signing in first with Google and then with Apple
Created: 2023-03-06T20:00:18Z
Bug report
Describe the bug

Sign in with Google first and then with Apple: It fails to merge users
Sign in with Apple first and then with Google: Everything is ok

To Reproduce
I use native sign in with Apple:
const result = await supabase.auth.signInWithIdToken({
  provider: 'apple',
  token <THE_ONE_I_GOT_NATIVELY>,
});
That works ok. For Google I use supabase.auth.signInWithOAuth. It also works ok.
Both using same email. If I sign in first with Apple and then with Google, everything is ok (users are merged because same email).
But If I sign in using Google first (user gets created) and then I try to sign in with Apple (same email), I get the following error:
duplicate key value violates unique constraint "users_email_partial_key"

Expected behavior
I think sign in method should not matter, if email is the same, users should get merged.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: macOS
React Native: 0.70.7
Version of supabase-js: 2.10.0
Version of Node.js: 16.18.1

Additional context
Add any other context about the problem here.

Closing comment (2023-05-17T12:15:09Z): Duplicate of #313.
Repository: supabase/auth

Issue #713: Email Links don't pass through enterprise email systems
Created: 2022-07-20T17:53:45Z
Bug report
Describe the bug
One of the organizations that uses our web app has an enterprise email system (part of the Microsoft platform?). As part of the system's security, when an email is to be delivered to a user's inbox the system will open the email, scan through the email, and open all of the links that are contained within the email. If the system deems that the email is safe, it then delivers it into the user's inbox.
The issue with this system is that when a reset-password link (or any auth link) is sent through this system, by the time it reaches the user's inbox the link has been opened and the single-use token is expired.
To Reproduce
The only way to reproduce this behavior would be to send a reset-password link (or any other auth link) to an email address that is controlled by an enterprise system. I'm not certain which systems work like this, except that this certain organization's system does.
Expected behavior
As seen from these discussions

supabase/supabase#6004
supabase/supabase#7791

a single-use token is important for security purposes. However, a possible alternative that would work for these systems would be to have an access_token that isn't single-use, but rather has an expiration timestamp (10 minutes, one hour, one day, etc.). I'm not a security expert, but this seems like a good solution that would solve the enterprise email issue.

Duplicate issue #1214: Magic Links are invalidated by corporate link scanning software
Created: 2023-08-08T16:55:33Z
Bug report

 I confirm this is a bug with Supabase, not with my own application.
 I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
We have a customer using the Barracuda SafeLinks platform, and apparently Office 365 offers something similar, which scans all links before opening them via a wrapper link it puts on all incoming email. This invalidates Magic Links as the link scanning platform triggers expiration when the user opens the link.
Next Auth has a similar scenario and seems to recommend responding to HEAD requests with a 200 without invalidating the link as a fix. See this https://next-auth.js.org/tutorials/avoid-corporate-link-checking-email-provider for more.
To Reproduce
This is a bit difficult as you likely have to configure MS Defender on Office 365 at the least to test a relevant scenario.
Expected behavior
Ideally the user doesn't see a link expired error and is able to use the link successfully.
Additional context
For those with access to IT security policy the organization can disable scanning of supabase links via https://learn.microsoft.com/en-us/microsoft-365/security/office-365-security/safe-links-about?view=o365-worldwide#do-not-rewrite-the-following-urls-lists-in-safe-links-policies for the MS platform at least

Closing comment (2025-03-05T15:40:13Z): possible duplicate of #713
Repository: supabase/auth

Issue #434: Unable to signIn with OpenIDConnect when already signed Up with email and password
Created: 2022-03-30T22:46:44Z
Bug report
Describe the bug
I am unable to link/sign in with OpenID using the same email as an account signed up with email and password.
When looking at supabase logs I see,
duplicate key value violates unique constraint "users_email_key"
To Reproduce

I sign up with email and password and I then click the verification email. I verify that the row looks good in auth.users.
I then create an account using OpenIDConnect. The error I get back is GotrueError(message: Database error saving new user)

let response = await supabase.auth.signUp({
  email: 'someone@email.com',
  password: 'RQTFSUtvkVqRfzemYsPI'
})
let response = await supabase.auth.signIn({
  oidc:{
      id_token: 'valid_id_token',
      nonce: 'valid_nonce',
      provider: 'google'
  }
})
They work separately, but they fail when called after each other.
Expected behavior
I expect that I can sign in with oidc when the email is the same as an account that has already same up with email and password.

Duplicate issue #807: sign in via apple using authorization code / email (rest api) not web flow
Created: 2022-11-14T10:02:33Z
Feature request
currently the sign in via apple is only on browser - we need a native solution.
I've crafted a sample in javascript / nodejs
https://github.com/johndpope/Sign-in-with-Apple-for-supabase/
we want to send the authorization_code + email to backend - and return the existing user - or sign up new one.
Is your feature request related to a problem? Please describe.
supabase-community/gotrue-swift#4
A clear and concise description of what you want and what your use case is.
Describe the solution you'd like
sign in via rest api - as documented here
https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api
Describe alternatives you've considered
the web based browser session is not sufficient.
Additional context
see readme

Closing comment (2023-01-25T15:23:50Z): This is a duplicate of #434.
Repository: supabase/auth

Issue #385: Using custom (Unlimited) SMS Provider for sending OTP 
Created: 2022-02-15T01:53:59Z
Feature request
Currently, there is just a few SMS Provider, Twilio and Messagebird but they are expensive for my country, and there is a local SMS Provider that is 500%++ cheaper.
And I believe there is a lot of SMS Provider that cheaper in every country.
supabase/auth-js#356
Describe the solution you'd like
Add option in body request that gotrue didn't send the OTP and just give back the OTP code after saving it on the database.
By that, I can use any SMS Provider to send the OTP code, or even I don't send it via SMS, maybe Whatsapp, or anything else.
For example:
curl -X POST 'https://tqfkjdmpohkqylveukuhsy.supabase.net/auth/v1/otp' \
-H "apikey: <SERVICE_KEY>" \
-H "Content-Type: application/json" \
-d '{
  "phone": "123123123123", 
  "send_otp": "false"
}'

{"otp_code":"897514"}

Describe alternatives you've considered
Maybe the API that can write the confirmation_token
curl -X POST 'https://tqfkjdmpohkqylveukuhsy.supabase.net/auth/v1/confirmation_token' \
-H "apikey: <SERVICE_KEY>" \
-H "Content-Type: application/json" \
-d '{
  "phone": "123123123123", 
  "otp":"<RANDOM>"
}'

{"success":"true"}

No need to return an OTP code, since the OTP is created on my end.
Additional context

Duplicate issue #456: Custom SMS Provider
Created: 2022-04-20T16:28:07Z
Feature request
Is your feature request related to a problem?
Yes. i current building app that require SMS OTP authentication.
Due my SMS API provider not available in current Supabase supported SMS provider so i can't provide SMS OTP in my app.
Describe the solution you'd like
Give option to use external SMS provider through webhook.
So when SMS OTP requested through Supabase API, then Supabase will send request to configured URL and check the condition (that will configured on dashboard)
Describe alternatives you've considered
Currently i not provide SMS OTP on my app, but the plan is self-hosting and add my SMS provider logic
Additional context
None.

Closing comment (2022-05-14T15:10:37Z): I guess this is an duplicate of #385
Repository: supabase/auth

Issue #14: Multi-factor authentication
Created: 2020-08-17T16:10:19Z
I'm submitting a ...

feature request

Summary
MFA would be a very nice addition to the auth module.
Here are two standards that I think should be supported:

 HOTP and TOTP (e.g Google Authenticator, FreeOTP)
 FIDO U2F (e.g YubiKey, Google Titan Key)

Duplicate issue #84: TOTP based multi-factor authentication
Created: 2021-04-12T12:20:35Z
Feature request
Is your feature request related to a problem? Please describe.
There is currently no built-in solution for providing TOTP based multi-factor authentication to the user if they want to. Currently only email is an auth option that can be considered a multi-factor authentication.
Describe the solution you'd like
Authelia might be worth a look
Describe alternatives you've considered
One can always implement their own solution.
Additional context
I was looking for solutions for 2fa and found Authelia. But unlike gotrue, it doesn't support OAuth Providers yet (it's on their roadmap). As for gotrue, Netlify has added support for 2fa to their (gotrue based) Identity service but no info when (or if) that would be added to gotrue itself.

Closing comment (2021-05-15T07:40:13Z): closing as duplicate of #14
Repository: supabase/auth

Issue #313: Link Multiple Auth Providers to an Account
Created: 2021-07-26T05:09:56Z
https://firebase.google.com/docs/auth/android/account-linking

Duplicate issue #1048: No way to add providers to an existing user
Created: 2022-12-01T04:06:18Z
With Firebase, I was able to do the following:
final credential = GoogleAuthProvider.credential(idToken: idToken);
//OR OTHER PROVIDERS
final credential = EmailAuthProvider.credential(email: emailAddress, password: password);
//ADD PROVIDER TO CURRENT USER
FirebaseAuth.instance.currentUser?.linkWithCredential(credential);

With Supabase I know these two things; users can be created with OAuth providers and, if the email of that provider user matches an existing user email, the provider is automatically added to that existing user. What I don't know is how to add providers to a user manually. This is a pretty standard feature with authentication on apps. I saw one answer on StackOverflow that suggests it isn't possible on Supabase, because "currently in Supabase email address is the unique identifier of users," but I don't think this is the case. I think this would be a great addition to Supabase Auth (self-hosted).
Example 1:

App requires every user to have an Email & Password
User signs up with phone auth or OAth
User needs to add Email & Password provider to their profile

Example 2:

User signs up with an Email & Password provider
User wants to be able to sign in with OAuth or phone auth
User needs to sign in to OAuth then that provider should be added to the existing Email & Password account, regardless of if the email matches

Closing comment (2023-06-07T11:41:13Z): Actually, a duplicate of #313.
Repository: supabase/auth

Issue #142: Allow configuration of OAuth2 redirect domain in hosted supabase console
Created: 2021-07-06T01:37:38Z
Feature request
Is your feature request related to a problem? Please describe.
In the OAuth 2 authentication flow, a user is redirected to the supabase.co domain in the callback step. Google in particular shows this to the user with the message 'Enter your password to continue to supabase.co' - which is confusing for the user, given they are coming from a domain with a different name and probably don't know what supabase is (a pity, of course!).
The second problem is identified in this issue: Unable to use Google OAuth in production - we are unable to verify a Google OAuth2 client, as we can't verify the supabase.co domain which must be included in a list of allowed callbacks. Therefore we must use an unverified client - with a limit on users.
Describe the solution you'd like
When supabase.co/auth/v1/authorize is called for an OAuth2 flow, it sets the callback to [myproject].supbase.co/v1/auth/callback - but it would solve the above problems if the callback was configurable to a proxy, eg auth.[mydomain]/callback
I already mask the supabase.co project auth API (via a Vercel rewrite) - so for example, authentication requests go through auth.[mydomain]/authorize - which is then proxied to [myproject].supabase.co/auth/v1/authorize. This is handy for React Native, which asks the user if it's OK to proceed to auth.[mydomain] before opening a browser to complete an authentication session - which would be confusing to users if it asked to go to supabase instead.
It appears the underlying GoTrue server is configured to use a callback URL with a EXTERNAL_X_URL environment variable which is presumably set to [myproject].supbase.co/v1/auth/callback.
If the Supabase console allowed setting the callback location to an URL that proxies to the GoTrue server, that would solve the above problems - users would not get confused about what they are logging into, and Google verification would be possible.
Describe alternatives you've considered
...supporting custom domains globally for a Pro plan!

Duplicate issue #143: Allow user to map custom domain to callback url on Sign with OAuth Provider
Created: 2021-07-16T08:27:18Z
Feature request
Partially addresses supabase/supabase#1895 where the user isn't redirected to the redirectTo value specified by the developer after signing in with the desired OAuth provider.
Is your feature request related to a problem? Please describe.
This problem can be broken down into 2 parts:

The OAuth provider only recognises that it needs to redirect the user to https://<PROJECT_REF>.supabase.co/auth/v1/callback and shows "Continue to supabase.co" (for google's case)


Possible solution: The developer will have to map the callback url to a url that they control.


Gotrue isn't aware of any urls associated with https://<PROJECT_REF>.supabase.co/auth/v1/callback.


Possible solution: Implement logic in gotrue to associate custom urls to the callback url.

Closing comment (2022-09-14T13:20:04Z): Duplicate of #142
Repository: supabase/auth

Issue #105: Return oauth_secret_token for OAuth1.0 providers
Created: 2021-05-24T14:02:55Z
Feature request
Currently, only the provider_token (oauth_token) is being returned for OAuth1.0 providers. In the future, we would either want to return the oauth_secret_token as well or not at all.
Is your feature request related to a problem? Please describe.
Returning both the provider_token and oauth_secret_token will allow the service to retrieve a user's credentials in the future without having to ask the user for permission again. In the case of Twitter, the service can retrieve a user's tweets / retweet count / etc...
Describe the solution you'd like
OAuth1.0 tokens generally have a longer lasting lifetime compared to OAuth2.0 (Twitter's tokens do not expire but can be revoked by the user whenever). We can send the oauth_secret_token as part of the query parameters returned together with the provider_token.
Additional context

Is it secure / a good practice to send the oauth_secret_token as a query parameter?

Duplicate issue #490: Return access token and secret for Twitter login
Created: 2021-08-13T00:15:04Z
Feature request
Is your feature request related to a problem? Please describe.
Not exactly a problem, I'm building a full-fledged Twitter app for web and using Supabase as database right now. The issue is I'm not using Supabase's auth for Twitter login, so basically there's loophole to writing to the tables with bearer token in my app. I want to use Supabase's auth with auth policy to fix this situation.
The issue with Twitter sign-in with Supabase is that it doesn't return user's access token and secret in session or anything. I want these user credentials so I can load their feed and make tweets in their behalf.
Describe the solution you'd like
It would be great if we can Twitter oauth can return user's access token and secret as well.
Describe alternatives you've considered
--
Additional context
I have tried Supabase Twitter auth, I've checked it returns the bearer token and access token, but it doesn't return access secret. Both user's access secret and token are needed to make request on user's behalf, I hope it's something Supabase can add to Twitter auth. Thanks,

Closing comment (2022-09-14T13:47:14Z): Duplicate of #105
Repository: supabase/auth

Issue #1057: Allow new auth user accounts from a specific email address domain.
Created: 2022-03-31T21:19:42Z
Feature request
Is your feature request related to a problem? Please describe.
I am building an application where the authenticated users are all from a specific domain.  I want a way to only allow accounts to be created for email addresses from a specific domain.
Describe the solution you'd like
A way to specify a list of allowed domains for new account creation, or an example for how to use the existing system to check for the email address domain and allow/reject with an error, based on that check.
Describe alternatives you've considered
Handling the email validation on the registration form, but this can be bypassed on the client side.

Duplicate issue #211: Support a denylist to block non-existent or abusive domain signups
Created: 2021-09-09T21:10:26Z

Closing comment (2023-03-01T10:26:40Z): Related to #1057
Repository: supabase/cli

Issue #577: [Bug?] Views with non-nullable properties are nullable in generated types
Created: 2022-11-02T12:41:32Z
Bug report
So as mentioned in the title: Views with non-nullable properties are nullable in generated types.
Describe the bug
Related StackOverflow question: https://stackoverflow.com/questions/17301323/why-are-my-views-columns-nullable
It seems like according to one of the answers:

The nullability tracking in PostgreSQL is not developed very much at all. In most places, it will default to claiming everything is potentially nullable, which is in many cases allowed by the relevant standards. This is the case here as well: Nullability is not tracked through views. I wouldn't rely on it for an application.

According to another one of the answers, you can also set the nullability manually.
The CLI seems to solely use Postgres as the source of truth.
That said, I'm not sure however if letting CLI check the base table would be an option.
It seems like either that or setting the attribute manually are the only options.
To Reproduce

Create a table
Create a view of that table
Generate type using supabase CLI

Expected behavior
Generated view properties are the same as the base table
System information

OS: Linux
Version of supabase-js: 2.0.4
Version of Node.js: 16.15.1

Duplicate issue #603: Type generated for Views are incorrect set as optionally null
Created: 2022-11-13T17:36:40Z
Bug report
Describe the bug
Generated types for Views have field that are incorrectly marked "| null".
To Reproduce

Have a table along the lines of:

CREATE TABLE IF NOT EXISTS public.table_name
(
    id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 9223372036854775807 CACHE 1 ),
    created_at timestamp with time zone NOT NULL DEFAULT now(),
    field1 uuid NOT NULL,
    deleted_at timestamp with time zone,
    CONSTRAINT cell_pkey PRIMARY KEY (id)
)


Create a View like
CREATE VIEW view_name AS SELECT id, created_at, field1 FROM public.name WHERE deleted_at IS NOT NULL;
Generate types with supabase type gen --local > types.ts
Types come out something like

view_name: {
        Row: {
          id: number | null
          created_at: string | null
          field1: string | null
        }
...

Expected behavior
Types should be:
view_name: {
        Row: {
          id: number
          created_at: string
          field1: string
        }
...

Closing comment (2022-11-17T05:38:30Z): Duplicate of #577
Repository: supabase/cli

Issue #1825: During "supabase init" I can see failed to parse settings: invalid character '/' looking for beginning of object key string
Created: 2024-01-08T22:28:52Z
OS: MacOs
Version of CLI 1.127.4


Supabase was initialised successfully but I can see error message durning "supabase init". Im just putting it here because I was not able to find anything like that in previous issues.

Duplicate issue #2000: `npx supabase init --debug` fails when generating VS Code Settings for Deno
Created: 2024-02-28T10:27:59Z
The init command finishes successfully when I select the no option when asked to generate the Deno VS Code settings, but not when I select the yes option. When I ask it to generate them, it fails with following error: failed to parse settings: invalid character '}' looking for beginning of object key string
system: Ubuntu 20.04
cli version: 1.145.4

Closing comment (2024-03-08T04:06:24Z): This seems to be a duplicate #1825 (comment)
Repository: supabase/cli

Issue #2341: Commands should support --non-interactive or --yes option
Created: 2024-05-29T15:31:39Z
Is your feature request related to a problem? Please describe.
I want to run e.g. supabase db reset inside CI. It asks for confirmation, making it unusable. Also discussed here.
Describe the solution you'd like
I want a switch such as other tools have, i.e. apt-get --assume-yes or pacman -Syu --no-confirm so the CLI command doesn't ask me anything and do its job. For example, I want supabase db reset --linked --assume-yes
Describe alternatives you've considered
$ yes | supabase db reset --linked

but that recently started to fail with:
yes: standard output: Broken pipe

so we have this esoteric approach instead:
      - name: Create and run expect script
        run: |
          sudo apt-get install -y expect
          echo '#!/usr/bin/expect -f' > reset_db.exp
          echo 'spawn supabase db reset --linked' >> reset_db.exp
          echo 'expect {*Do you want to reset the remote database*} { send "y\r" }' >> reset_db.exp
          echo 'expect eof' >> reset_db.exp
          chmod +x reset_db.exp
          ./reset_db.exp

Duplicate issue #2351: Till now it was successful but today it throw an error. Process completed with exit code 1. Did something changed?
Created: 2024-05-31T08:55:41Z
Hi. Im using github actions and so far everything was working great but today Im getting an error. Did something changed?

And here is my workflow
jobs:
  deploy_dev_supabase:
    runs-on: ubuntu-latest
    env:
      SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
      SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD_DEV }}
      SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID_DEV }}
    steps:
      - name: Get code
        uses: actions/checkout@v4
      - uses: supabase/setup-cli@v1
        with:
          version: latest

      - run: supabase link --project-ref $SUPABASE_PROJECT_ID
      - run: supabase db dump -f supabase/seed.sql --data-only
      - run: yes | supabase db reset --linked

Closing comment (2024-05-31T13:33:02Z): Probably a duplicate of #2341 (comment)
Is it random or always reproducible?
Repository: supabase/cli

Issue #384: Can't generate the types using the cli if I don't have a local instance running
Created: 2022-08-18T13:35:49Z
Bug report
Describe the bug
I can't generate typescript types with the cli, if I don't have a local supabase setup
When I run this command, i get the following output
> supabase gen types typescript --db-url 'postgres://postgres:[my-db-password]@db.[my-project-id].supabase.co:6543/postgres' > types.ts

Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Run the command above without. having a local instance of supabase installed.

Expected behavior
I want to generate the types based on the remote project I have running
System information

OS: macOs
Version of supabase-cli: 1.0.7

Duplicate issue #418: Typescript generating results in docker error
Created: 2022-08-26T20:37:46Z
Bug report
Describe the bug
running sudo supabase gen types typescript --db-url postgres://postgres:pass@db:port/postgres > src/components/database.types.ts results in Error: error running container
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

install CLI from package
supabase init in project folder
supabase start
sudo supabase gen types typescript --db-url postgres://postgres:pass@db:port/postgres > src/components/database.types.ts
results in Error: error running container

Expected behavior
should generate typescript interfaces into src/components/database.types.ts
System information

OS: Fedora 36
Version of supabase-js: new project on https://app.supabase.com/
Version of Node.js: v16.14.0
Version of Docker: 20.10.17, build 100c701

Additional context
Done on a fresh installation of docker. supabase start runs without errors

Closing comment (2022-10-14T04:25:33Z): Hello, sorry for getting back to you late on this one. We have added support for generating types on hosted projects using --linked or --project-id flags which run without docker.
For local database, docker is still required. You can also get debug logs by passing in --debug flag. Hope this helps.
duplicate of #384
Repository: supabase/cli

Issue #1493: supabase migration squash deletes storage schema migration script
Created: 2023-09-14T22:03:34Z
Describe the bug
The supabase migration squash command is supposed to flatten all the migration scripts to one file.
It seems to delete one of my storage policies.
To Reproduce
Pull migration script, pull storage script with supabase db pull --schema storage, run supabase migration squash
Expected behavior
It should should flatten all of the logic into one file, not delete the logic.
Screenshots
https://www.loom.com/share/fe6854a529044e2aba4d16e1046ebcbc
Desktop (please complete the following information):

OS: MacOS
Version of CLI: v1.93.0
Version of Node.js (if applicable): v20.4.0

Additional context
Add any other context about the problem here.

Duplicate issue #1562: Migration squash only targets some schemas
Created: 2023-10-11T02:50:57Z
Describe the bug
It may be necessary to change schemas other than public and custom schemas. For example, adding triggers to the auth schema or storage schemas.
The squash command does not add the changes present in these schemas to the squashed schema file, so when one creates a new migration just after squashing, one gets a new migration with the missing changes for the rest of the schemas.
To Reproduce
Steps to reproduce the behavior:

Make changes to the auth schema (add a trigger to the users table for example)
Run supabase migration squash --local
Run supabase db diff --local -f test -s -s public,auth

Expected behavior
Squashing detects and includes the changes to other schemas.
Another option if the desired default behavior is not to add those schemas, is to have a flag like the db diff command to pass the list of schemas to include in the squash.

Closing comment (2023-10-25T04:36:23Z): Seems to be a duplicate of #1493
Repository: supabase/supabase

Issue #13267: Valid query containing `UNIQUE NULLS NOT DISTINCT` is not validated
Created: 2023-03-28T16:45:12Z
Bug report


 I confirm this is a bug with Supabase, not with my own application.
 I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
In Postgres 15, the NULLS NOT DISTINCT syntax was introduced. However, queries including this syntax fail in Studio - both on CLI and app.supabase.com
To Reproduce

Create a new database, either via app.supabase.com or with supabase CLI
Go to the SQL editor
Run a command that includes the NULLS NOT DISTINCT syntax
CREATE TABLE new_style (
  id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
  val1 TEXT NOT NULL,
  val2 TEXT NULL,
  CONSTRAINT uq_val1_val2_new UNIQUE NULLS NOT DISTINCT (val1, val2)
);

It will fail with Failed to validate sql query: syntax error at or near "NULLS"
Or create a table and try to add a constraint
CREATE TABLE new_style (
  id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
  val1 TEXT NOT NULL,
  val2 TEXT NULL
);
ALTER TABLE new_style ADD CONSTRAINT uq_val1_val2_new UNIQUE NULLS NOT DISTINCT (val1, val2);


Connect to the database with a client like Postico, and the command will work ok.

Expected behavior
It is expected that the SQL Editor validates the NULLS NOT DISTINCT syntax correctly.
Additional context
There are 2 reports in discord but no bug reports here.

https://discord.com/channels/839993398554656828/1056281310458544239/1056281310458544239
https://discord.com/channels/839993398554656828/1056281310458544239/1056285615471214643

Duplicate issue #14519: Syntax error on valid query, should be querytime error
Created: 2023-05-22T19:39:02Z
Bug report


 I confirm this is a bug with Supabase, not with my own application.
 I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
When trying to create a unique index on a table with data that would violate the constraint, supabase reports a query syntax error vs a runtime error. The following query:
ALTER TABLE address 
ADD CONSTRAINT address_info_combined_idx 
UNIQUE NULLS NOT DISTINCT (street_number, street_name, unit_number, city, state, country, postal_code)

Returns SYNTAX ERROR AT OR NEAR NULLS, but when run in a 3rd party tool against the same DB I get "Could not create unique index address_info_combined_idx" (which admittedly is also not a great error, but less of a red herring on a query with valid syntax
To Reproduce
Steps to reproduce the behaviour, please provide code snippets or a repository:

Add two rows with the same value in a given column
Attempt to add a unique constraint on that column in supabase SQL editor

Expected behaviour
A runtime error vs a syntax error
System information

OS: macOS
Browser (if applies) Chrome

Additional context
Running PG 15.3

Closing comment (2023-05-22T20:43:46Z): This is because the SQL editor still does not have handling for new Postgres 15 syntax.
Duplicate of:
#13267 (Valid query containing UNIQUE NULLS NOT DISTINCT is not validated)
#13460
#11706
Repository: supabase/supabase

Issue #32978: Edge Functions and CRON not working properly on Local Instance
Created: 2025-01-22T00:25:22Z
Bug report


 I confirm this is a bug with Supabase, not with my own application.
 I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
Both Edge Functions and CRON logs are not functioning properly. Screenshot [1] below shows the error message.
Additionally (just a guess), when I navigate to the "Functions" page (which is the page redirected to after creating a new CRON job linked to an Edge Function), an infinite loading screen appears (refer to screenshot [2]).
Despite these issues, the served functions themselves are working correctly, as are the created CRON jobs. However, CRON jobs linked to Edge Functions cannot be created through the UI due to the current issue. That said, a CRON job making a plain HTTP request to the function's URL works as expected.
To Reproduce
Just fresh stack started with CLI supabase start in a new project. The Edge Functions served with supabase functions serve.
Expected behavior
Working logs as for other menu items.
Screenshots


System information

OS: MacOS 14.6.1 (23G93)
Browser: chrome

Duplicate issue #33834: Error while fetching Edge Functions Logs
Created: 2025-02-25T08:58:14Z
Edge function logs is giving error.
Response of api/platform/projects/default/analytics/endpoints/logs.all API:
{
    "error": {
        "code": 502,
        "errors": [],
        "message": "Something went wrong! Unknown error. If this continues please contact support.",
        "status": "UNKNOWN"
    }
}
To Reproduce

Open Supabase Studio interface
Go to Logs > Edge Functions

Screenshots

System information

OS: macOS 15.3.1
Version of Supabase CLI: 2.15.8

Closing comment (2025-03-13T11:43:48Z): Seems like duplicate of #32978. I am experiencing this issue as well in self-hosting.