mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #271] Application Error on callback for Google Auth #160
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jferdizzle on GitHub (Aug 25, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/271
I'm using the provided function with the correct keys for my account. The callback (https://oauthswift.herokuapp.com/callback/google), which is registered in Google as the redirect_uri.
Any ideas?
== Describe here the steps to reproduce, with error message if any, and your code if relevant ==
Instead or returning to the app and doing the API call, I'm getting HTML that says:
Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
@jferdizzle commented on GitHub (Aug 25, 2016):
I think https://oauthswift.herokuapp.com/callback/ is down since I get the same error when I go there.
@phimage commented on GitHub (Aug 25, 2016):
https://oauthswift.herokuapp.com/callback/ is for test or demo purpose
Please read https://github.com/OAuthSwift/OAuthSwift/wiki/API-with-only-HTTP-scheme-into-callback-URL
but good to know (but I can't do anything, only @dongri or herokuapp could fix it)
@jferdizzle commented on GitHub (Aug 25, 2016):
Thanks for the repo link. All set!
In case anyone is confused like I was:
I just ran it on a new heroku instance and updated the index.erb file before uploading it to the server as follows:
From this:
http://oauthswift.herokuapp.com/callback/{app_name}
To this:
http://{PUT YOUR HEROKU NAME}.herokuapp.com/callback/{app_name}
Don't forget to update the redirect_uri so that they match.