-
Notifications
You must be signed in to change notification settings - Fork 866
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
Missing port when constructing URL for token request #36
Comments
Good find! Looks like we should be adding mRequestUri.getPort() if it is defined at library/java/net/openid/appauth/AuthorizationService.java#L234. I'll fix ASAP. |
Thanks! |
Once I get this fixed, and the error handing in AuthState done (#26), I can cut a 0.2.0 release. I'll try and get that done for tomorrow to unblock you. |
Thanks a lot! |
Just one more request: if it could also be made available to satisfy a Gradle dependency, it would be very helpful. |
Of course - when I cut a 0.2.0 build I'll update our bintray repo which should propagate to JCenter very quickly. |
I'm just waiting for code reviews to get the necessary fixes for 0.2.0 in, hopefully we'll have this wrapped up by today. |
No problem, thanks! |
0.2.0 is now released; if it doesn't fix your issue, please re-open this bug. |
Thanks. |
The issue seems to be fixed in version 0.2.0. Thank you for the fix. |
In AuthorizationService::TokenRequestTask::doInBackground(), the URL that is constructed (local variable 'url' inside try block) is missing the port from the request URI. This omission seems to cause FileNotFoundException when connecting to the token endpoint.
The text was updated successfully, but these errors were encountered: