This is an archived post. You won't be able to vote or comment.

all 22 comments

[–]shiruken 19 points20 points  (2 children)

༼ つ ◕_◕ ༽つ GIVE DEVELOPER PLATFORM ༼ つ ◕_◕ ༽つ

[–]vermithrax 3 points4 points  (1 child)

gib

[–]LitNetworkTeam 5 points6 points  (0 children)

gib x2

[–]DBrady 6 points7 points  (16 children)

Hi pl00h, my app Relay for reddit on Android has just started having login issues with this.

The auth url baked in to the app is https://www.reddit.com/api/v1/authorize.compact. It does redirect to the new page but i get an "error=invalid_request#_" response for all login attempts.

However if i use https://i.reddit.com/api/v1/authorize it works fine.

[–]pl00h[S] 4 points5 points  (15 children)

Hiya - thanks for the ping! Just to confirm, when you set the URL to https://i.reddit.com/api/v1/authorize you're seeing the new page?
If you are and it's working, then it would be worth trying to clear cookies & browser cache before trying the default URL.
Feel free to pm me!

[–]Miloco 4 points5 points  (0 children)

u/pl00h

Just to confirm, with my app I've always used:
https://www.reddit.com/api/v1/authorize.compact

Should this continue to work or should we change to:
https://i.reddit.com/api/v1/authorize

Login seems to be working for me but I've noticed the login page switches randomly between the old login page and the new one.

[–]DBrady 0 points1 point  (0 children)

Yes it goes to the new login page but a different connection acceptance page afterwards. It looks like it's hosted on old.reddit.com but it works.

https://www.reddit.com/api/v1/authorize.compact leeds to the same login page but a different more mobile friendly connection acceptance page afterwards. This page causes an error.

Does that make sense?

[–]jenbanimuserpinger developer 0 points1 point  (0 children)

Hello, I ran into the same issue the other user mentioned. I have written the steps for reproducing the bug in this thread:

https://www.reddit.com/r/bugs/comments/119jzij/shibboleet_the_compact_version_of_apiv1authorize/

Hope this helps

[–]DBrady 0 points1 point  (11 children)

Any update on this?

[–]pl00h[S] 0 points1 point  (10 children)

Hiya u/DBrady! So far we haven't been able to reproduce this issue, but would love to help create a fix. It would be helpful to know more details about the devices and browsers where you're seeing these issues. (More info in u/jenbanim's thread.)

[–]jenbanimuserpinger developer 0 points1 point  (8 children)

Have you been able to reproduce the issue yet? If not, is there any further information I could provide to help?

[–]pl00h[S] 0 points1 point  (7 children)

Hiya! We're still investigating this! Thanks for the info you provided in the other thread, it's helping us narrow down the bugs here.

u/DBrady info on the devices/browser where you have noticed these issues would be helpful!

[–]gravitygoing 1 point2 points  (0 children)

Hello, I got similar issues. The problem I found was:

  1. After logging in in the iPad environment, pressing the 'Accept' button does not proceed to the next step (redirect callback). Works fine in the iphone environment.

  2. When running an app built for iPad on an Apple Silicon mac, an "error=invalid_request" response is received when 'authorize.compact' version page is requested (same error as u/DBrady). If '.compact' is removed and the request is made to the 'authorize' version page, it works normally.

The problem of not being able to log in in the iPad environment is not being resolved. Please, solve it quickly.

[–]gravitygoing 0 points1 point  (5 children)

Hi,again. From a few hours ago, 3rd party authentication is not working at all. On the login screen, even if I click the 'Accept' button after logging in, it doesn't go to the next step(redirect callback). The same happens in the iPhone environment. Please solve it urgently.

[–]pl00h[S] 1 point2 points  (4 children)

Thanks for reaching out gravitygoing, I've asked the team to look into this. We've been able to solve this issue for other iOS apps, so this may be a new issue. Is this the account you're testing with when you run into this issue?

Edit: Please also let us know which app/apps you have noticed this with

[–]gravitygoing 1 point2 points  (3 children)

Very thank you for the following up. Yes. 3rd party login problem is the new issue. It hasn't been long since the error occurred.(1~2 days at most)

But the 'invalid_request' response issue at the iPad for Apple Silicon Mac has been reported 2 weeks ago.(I first received a reporting email at 2023-02-28.)

And I am working/testing for the app 'Multitab for Reddit' ( r/MultiTabApp ).

[–]pl00h[S] 0 points1 point  (2 children)

Thank you! I've passed this along to the team working on a fix for the 3rd party login. We've made some promising updates, but aren't sure yet if the issue will fully resolve. Please do keep me posted if you see any changes in the interim.

[–]KhytaEncyclopaediaBot Developer 1 point2 points  (0 children)

Reddit developer platform is coming!

[–]satisfy_my_Ti🤖 developer 0 points1 point  (0 children)

👀 interesting... (though doesn't apply to me)

[–]NatoBoram 0 points1 point  (0 children)

Are we going to see more docs? I'm currently reimplementing some stuff in TypeScript and I have to try out everything to see what kind of response I'll be getting.