Starscream icon indicating copy to clipboard operation
Starscream copied to clipboard

Client side authentication

Open dimitrovvlado opened this issue 1 year ago • 4 comments

What do you want to happen?

Add client side authentication (mTLS)

What happens now?

As per the following PR https://github.com/daltoniam/Starscream/pull/481, there used to be an option to setup client side authentication (mTLS), but it has mysteriously disappeared between https://github.com/daltoniam/Starscream/commit/a2ed45c0b2f996cb8c335c4f270ecc68c3bd4c0f and https://github.com/daltoniam/Starscream/commit/c946f5c68b1e6e5721a8113c8323faf0308298cf. I couldn't find an alternative, is this an oversight?

dimitrovvlado avatar Nov 25 '23 05:11 dimitrovvlado

Also wanting to know what happened to client side TLS auth. Hope it comes back! :(

gregorosaurus avatar Mar 25 '24 15:03 gregorosaurus

Are there any updates on this topic? I need mTLS support as well.

2h4u avatar Jun 18 '24 07:06 2h4u

There is already a PR which aims to re-add it: https://github.com/daltoniam/Starscream/pull/871

2h4u avatar Jun 18 '24 08:06 2h4u

I ended up removing the library and switched to use the built-is Swift web socket class. It supports URL Session Delegates which allow you to use mTLS.

gregorosaurus avatar Jun 21 '24 16:06 gregorosaurus