lyft-api

Lyft-API - GET from Localhost

我的梦境 提交于 2019-12-13 03:48:53
问题 I have been trying to figure out how to get this Vue project to work with the Lyft API. I have been able to get an Auth Token successfully created from the three-legged procedure, but I am unable to get the available drive types https://api.lyft.com/v1/ridetypes endpoint from the localhost:8080 . It does work on Postman . It keeps stating: Access to XMLHttpRequest at 'https://api.lyft.com/v1/ridetypes?lat=37.7752315&lng=-122.418075' from origin 'http://localhost:8080' has been blocked by CORS

Redirecting Back to App After User Accepts Permissions Oauth2

我怕爱的太早我们不能终老 提交于 2019-12-10 10:03:36
问题 Background I am using the Lyft API to authenticate users with their 3 leg Oauth2 flow. I have added Deep Linking to my app by following this documentation here. When my app opens it immediately loads the Lyft Authentication page in Safari. After they go through the process to accept the permissions I have requested Safari tries to redirect to the URL I have set inside of my developer account at Lyft Developer The problem here is I need the user to come back to my app with the response that

Redirecting Back to App After User Accepts Permissions Oauth2

送分小仙女□ 提交于 2019-12-05 21:51:08
Background I am using the Lyft API to authenticate users with their 3 leg Oauth2 flow. I have added Deep Linking to my app by following this documentation here . When my app opens it immediately loads the Lyft Authentication page in Safari. After they go through the process to accept the permissions I have requested Safari tries to redirect to the URL I have set inside of my developer account at Lyft Developer The problem here is I need the user to come back to my app with the response that Lyft gives when a user grants my application permissions. What I have Tried Deep Link lyftauth:// I can