Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes upon login #97

Open
sjohal21 opened this issue May 4, 2022 · 1 comment
Open

Crashes upon login #97

sjohal21 opened this issue May 4, 2022 · 1 comment

Comments

@sjohal21
Copy link

sjohal21 commented May 4, 2022

Upon logging in to the app, in a normal user experience the app crashes soon after and no sign in occurs. When debugging in Visual Studio, there appears to be a null value on LoginPanel.xaml.cs line 94, "UserManager.SignInResult result = await App.BaconMan.UserMan.SignInNewUser();".

Running app on Windows 11, debugged in Visual Studio 2022.

@ironyman
Copy link
Contributor

The issue is that the post to https://www.reddit.com/api/v1/access_token in GetAccessToken responds with

"{\"message\": \"Bad Request\", \"error\": 400}"

I'm not an oauth expert but I looked at some other reddit clients and they look like they're doing the same thing to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants