underarmour

OAuth2 for MapMyRun using Swift 3

…衆ロ難τιáo~ 提交于 2019-12-25 05:14:20
问题 I'm trying to get user to authenticate my app to work with his data stored on MapMyRun(https://developer.underarmour.com/apps/myapps). Here is my code: let oauth2 = OAuth2CodeGrant(settings: [ "client_id": "asdasdasd", "client_secret": "asdasdasd123", "authorize_uri": "https://www.mapmyfitness.com/v7.1/oauth2/uacf/authorize/?client_id=asdasdasd&response_type=code&redirect_uri=http://localhost.mapmyapi.com:12345/callback", "token_uri": "https://api.mapmyfitness.com/v7.1/oauth2/access_token/",

OAuth2 for MapMyRun using Swift 3

半腔热情 提交于 2019-12-25 05:14:07
问题 I'm trying to get user to authenticate my app to work with his data stored on MapMyRun(https://developer.underarmour.com/apps/myapps). Here is my code: let oauth2 = OAuth2CodeGrant(settings: [ "client_id": "asdasdasd", "client_secret": "asdasdasd123", "authorize_uri": "https://www.mapmyfitness.com/v7.1/oauth2/uacf/authorize/?client_id=asdasdasd&response_type=code&redirect_uri=http://localhost.mapmyapi.com:12345/callback", "token_uri": "https://api.mapmyfitness.com/v7.1/oauth2/access_token/",