DEV Community

Discussion on: Quick Guide to ASWebAuthenticationSession API Changes in iOS 13

Collapse
 
therealstarone profile image
TheRealStarone • Edited

I am trying to use the Ecobee API, but they want you to use a HTTPS prefixed URL for the callback scheme... "example.com:/auth".
When I try to get the auth token I can login and authorize my app, but it always ends with "cannot find the server..." and all I can do is cancel.

Collapse
 
robotsquidward profile image
A.J. Kueterman

On GitHub (for using the GitHub API) you create an OAuth App that will accept the callback URL scheme and act as your auth server, by handling callbacks and returning a token for access. That's what I did for my implementation. See if Ecobee has a similar setup, otherwise you might have to implement your own auth server.