[GH-ISSUE #396] I cant login to facebook or google or linked in #254

Closed
opened 2026-03-03 16:47:06 +03:00 by kerem · 1 comment
Owner

Originally created by @nathankonrad1 on GitHub (Jul 22, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/396

Hey, first of all, really appreciate your huge work on this library. Thanks a lot

Description:

I have these callbacks urls: (these are working perfectly on web)
http://staging.claimit-server.com/auth/facebook/callback
http://staging.claimit-server.com/auth/google/callback
http://staging.claimit-server.com/auth/linkedin/callback

And I am trying to login with FB, Google or LinkedIn, it works perfectly, but callback not working.
I can see JSON in SFSafariVC (see attach), but cant handle to get back to my app.

Its something wrong with my urls? Or may I missed something when setting up.

Can you please help?

Thanks in advance

screen shot 2017-07-22 at 4 53 10 pm

OAuth Provider (Facebook, Google, LinkedIn2):

OAuth Version:

  • Version 2

OS (Please fill the version) :

  • iOS :

Installation method:

  • CocoaPods

Library version:

  • head

Xcode version:

  • 8.3.2 (Swift 3.2)
Originally created by @nathankonrad1 on GitHub (Jul 22, 2017). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/396 Hey, first of all, really appreciate your huge work on this library. Thanks a lot ### Description: I have these callbacks urls: (these are working perfectly on web) http://staging.claimit-server.com/auth/facebook/callback http://staging.claimit-server.com/auth/google/callback http://staging.claimit-server.com/auth/linkedin/callback And I am trying to login with FB, Google or LinkedIn, it works perfectly, but callback not working. I can see JSON in SFSafariVC (see attach), but cant handle to get back to my app. Its something wrong with my urls? Or may I missed something when setting up. Can you please help? Thanks in advance ![screen shot 2017-07-22 at 4 53 10 pm](https://user-images.githubusercontent.com/29920502/28491711-775cd654-6efe-11e7-9b22-e66f937f2103.png) ### OAuth Provider (Facebook, Google, LinkedIn2): ### OAuth Version: - [x] Version 2 ### OS (Please fill the version) : - [x] iOS : ### Installation method: - [x] CocoaPods ### Library version: - [x] head ### Xcode version: - [x] 8.3.2 (Swift 3.2)
kerem 2026-03-03 16:47:06 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@phimage commented on GitHub (Aug 14, 2017):

https://github.com/OAuthSwift/OAuthSwift#how-to
a redirection must be done to call yourapp:://oauth-swift to call OAuthSwift.handle(url: url)

your claimit-server just display the information needed as json...
why you need it?

<!-- gh-comment-id:322109979 --> @phimage commented on GitHub (Aug 14, 2017): https://github.com/OAuthSwift/OAuthSwift#how-to a redirection must be done to call yourapp:://oauth-swift to call OAuthSwift.handle(url: url) your claimit-server just display the information needed as json... why you need it?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#254
No description provided.