Post

Replies

Boosts

Views

Activity

Comment on URLSession Token Authentication: What's the 'correct' way to do it?
@WorkiStanton I've recently come up against this issue. A gotcha to watch out for is the Authorization header is not sent when following a redirect (https://github.com/Alamofire/Alamofire/issues/798 This is not a Alamorfire specific issue). Your production code that is currently working fine, if there was a server change and a redirect was used, it could possibly break your code.
Oct ’21