KMM is missing auth0 and stripe to be prefect , is...
# multiplatform
p
KMM is missing auth0 and stripe to be prefect , is there anyway to implement those without kotlin
a
Honestly you can implement those using actual/expect, is just using Ktor requests and launching ChromeCustomTab/SFSafariWebView.
p
@Alex Acosta give me start point or video plz plz
s
Look at the ktor oauth (bearer auth) tutorial. That helped a lot. Don’t go for a webview. Most services require a real browser for security reasons. You can’t log in to OneDrive with a WebView anymore for example.
🙌 1
p
thank you
a
I'm sorry to answer late, as Stefan says thats a good starting point. OAuth process is so very standard, you can create an interface that can later define per platform (actual/expect) how to play with the external WebViews.
p
thank you too so much
r
Hi @pers, it would be worth you taking a look at this repo - I've used it for a project and found it worked well https://github.com/kalinjul/kotlin-multiplatform-oidc/tree/main
p
@Richard Woollcott thank you
👍 1