-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Allow custom callback urls #16
Comments
Shay, Working on it right now |
Thanks! Shay |
Cool. What I changed is this: Let me know what you think about it |
Looks cool... static boolean isUrl(String url) I'm not sure performance wise what is better, regex or using try/catch, but I think both will work equally good, and since it's only once per service, it's not that bad anyway. Thanks again |
Cool. I kinda have a weakness for regexes, and don't like the try catch blocks a lot so I think I'll leave as it is for now... You have the fix on 1.0.4 released just now. sorry for the delay I've been working my ass of lately :) |
I know your point of view... I love regexes as well... btw - are you thinking about integrating with OAuth 2.0 ? (What Facebook is using...), it's almost the same as OAuth 1, but with some minor changes |
Hi
Today the package only allows callback urls if their scheme is http or https.
I'm developing an Android app and as part of my app I need to use custom scheme urls such as <my_scheme>://<service_name> , but when I try to do that through scribe-java I get an error that my callback url is not supported.
I went through the code and this is not a big change, I'd love to see it in v1.0.4, I Can also send you the patch for it if needed.
Thanks!
Shay
The text was updated successfully, but these errors were encountered: