Tokens rotation with additional headers - helper functions
Set of helpers to perform action with fresh tokens and additional headers in case of tokens rotation
Hi @wojteklembryk, thanks for the PR! Would you be able to provide us with some info about your use case for such helper functions?
@ywsang A use case here is Kinde uses a header value in the request to determine which SDK is making the request.
Hi @wojteklembryk, thanks for the PR! Would you be able to provide us with some info about your use case for such helper functions?
I can say that DPoP implementation is one such case.
Hi everyone, Apologies for the delayed response—I accidentally missed this thread.
@ywsang, there are several use cases that require passing additional headers during token rotation, such as:
- DPoP, as mentioned by @guilhermehmcarvalho
- Device fingerprinting
- Bot protection
- Passing additional metadata like the SDK version (as mentioned by @DanielRivers ) or device state
- Tracing/observability
Overall, this PR does not introduce any new functionality; it simply exposes the changes introduced in https://github.com/openid/AppAuth-iOS/pull/770 by @mdmathias.
Thanks for your suport and great work 👍