-
Notifications
You must be signed in to change notification settings - Fork 177
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
OAuth2 redirect issues #93
Comments
Stuck on the same problem here. Would like to note that this also occurs for https callback urls |
I fixed the problem for basically no reason ^^ I changed redirect url to : domein.society.name://http://127.0.0.1:65010/authorize_callback And it basically works so there you go |
Hey, @noe-gif Thanks for your response. That isn't really a fix tho, you're just using a custom URL scheme now. After further investigating I found that |
Can you please share your manifest and redirct uri and callback uri...... |
Hello, I've read previous issues similar as mine but I still can't manage to make it work with all this information
So, as I understood your scheme needs to be structured as following : domain.company.name
and the idea would be that your url is just your scheme + ://
(Just to clarify, I'm trying to use Reddit's Oauth, with reddit you need to create a dev app and get your clientID and secrets (https://www.reddit.com/prefs/apps))
The thing is I can't just put domain.company.name:// as url in here :
So what I did previously was putting http://127.0.0.1:65010/authorize_callaback and http as scheme.
My issue is that when I click on accept to authorize with OAuth2 it gets me here when it's supposed to go back on the app :
Even tho I get my token in the url : http://127.0.0.1:65010/authorize_callback?state=random_string&code=_2stEhVnH294rcna_DqnRGKRv3w1lw#_
I'm really stuck here so if anyone can help me that would be great, here is my code :
main.dart :
AndroidManifest.xml :
(I didn't put this inside the .MainActivity)
Thanks
The text was updated successfully, but these errors were encountered: