r/Infinity_For_Reddit • • Aug 21 '26

Bypass api doesnt let me log in

i use this script and it was always working fine

https://colab.research.google.com/drive/13AE8RvjnCfuBJGaACEqxeBIMo33_l-Sc?usp=sharing

the issue is it doesnt le met connect. I can use the menu but once i on the reddit authorize this app to have access to your account it simply print {} and nothing more happen

5 Upvotes

19 comments sorted by

4

u/trlef19 Aug 21 '26

Custom API don't work anymore

3

u/Asmuni Aug 21 '26

As long as your api isn't revoked it works perfectly

1

u/serialnuggetskiller Aug 21 '26

it wasnt revoked. It s just the login page bug and i remember having this one in the past. Dont remember how i fix it

0

u/[deleted] Aug 22 '26

[deleted] — view deleted comment

2

u/Asmuni Aug 22 '26

Not everyone's, but a lot yes.

2

u/DragonQ0105 Aug 22 '26

No, mine still works.

1

u/serialnuggetskiller Aug 21 '26

any alternative ?

6

u/trlef19 Aug 21 '26

Try the Continuum app. Or use the redreader API.

4

u/serialnuggetskiller Aug 21 '26 edited Aug 21 '26

I was hesitant but its litteraly a fork of infinity so I feel at home. Thanks for the recommandation.

My api key still work, it s great

3

u/minhvh99 Aug 22 '26

I ran into the same issue. The Google Colab script is outdated and doesn't work with the latest version. Try building version 8.2.1 instead. To do that, in step 1, click 'Show code', and replace `a46e96f3e48a89f7b683fa7308c39f01c5b5ac21` in both the URL and ZIP file name with `018006f7b0c31252b7a3b8bae9be130867809a8c` (the commit hash for version 8.2.1). You can then build the APK normally by selecting the `[GitHub Archive]` option

2

u/Kediwon Aug 25 '26 edited Aug 25 '26

I tried following this, and although I was able to build and download the older 8.2.1 version, I still have an issue with logging in. After clicking accept for allowing the app to use my account, it leads to a 127.0.0, which is not going to connect to anything.

Final Edit: Got it to work! In one of my tests, I changed my api's redirect uri, so I set it back to the proper http://127.0.0.1 and used the legacy webview to log back in. that worked for version 8.2.1. Not going to bother with the latest version, guess we're stuck at this version until something gets fixed later.

2

u/vidalmvc Aug 28 '26

Tried the recent 8.3.0 version in a fresh install on a new phone, no luck using any of the login methods (always having the blank page with {} in response after a successful login). Installed version 8.2.1, logged in successfully using the legacy WebView method and then upgraded to 8.3.0 again, everything seems to be working fine. Hope this can help someone

1

u/Kediwon Aug 28 '26

I initially updated to 8.3.0 with success, but after a few days it just stopped working. I gave it two days to see if it would work again, which it didn't, so i tried logging out and ran into the log in bug when i tried to log back in.

I hope my app not working after a few days was just something irrelevant, but i'm going to stick with 8.2.1 for now at least.

1

u/derday Aug 31 '26

Hope this can help someone

👍🏻

1

u/crawdevil Aug 25 '26

i made your changes (thank you). I am still unable to login. The app is working on my old phone with the API. Its just the new phone that compiles and runs, but won't log in. I just get { } or Verification failed
Is my API broken if it's working on the old phone?

1

u/DioTheSuperiorWaifu Aug 30 '26

Does using the Webview(Legacy) option help?

1

u/DioTheSuperiorWaifu Aug 30 '26

A modification to the colab script would fix it

apiutils_code = apiutils_code.replace("NO------A", api_token) will have to be modified, as the old pattern has changed with a recent release

Changing that line to
apiutils_code = re.sub(r'public static final String CLIENT_ID = ".*?";', f'public static final String CLIENT_ID = "{api_token}";', apiutils_code)
seems to fix the issue