mpclarkson / StravaSwift

A Swift wrapper for the Strava API v3
MIT License
102 stars 45 forks source link

Problems with auth #32

Open streem-ua opened 3 years ago

streem-ua commented 3 years ago

Hello! I have an issue with stava authorization. And it seems to me that the problem is in Network layer -> Alamofire. Inside oauthRequest(Router.token(code: code))?.responseStrava I always receive 401 Unauthorized

But when I use a simple base URLSession request with the same params, like in your Router, everything is OK and auth succeeds.

I can provide more information if needed.

Can you check please on your side and confirm that auth fails?

Thanks.

ajansen commented 3 years ago

I run into te same issue! Any update yet?

Thnx