You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to integrate Custom-auth-swift-sdk in our app but I'm a little confused with the params. We are building a crypto app and for that we are using Torus API for Login/Registration. It is working fine on the web using CustomAuth SDK.
and I am trying to duplicate that functionality on iOS. So for iOS we have 3 options for login and registration (i.e. email/pass, SignIn/Up with Google and Apple). We have native iOS registration and login screens and for Google/Apple we can use browser redirection. So my question is, what options do I use for 'loginType' and 'jwtParams' for SubVerifierDetails. And what to use for CustomAuth; 'network' and 'networkUrl'. Following is how I implemented and it was returning data earlier, now I get error: commitment request failed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to integrate Custom-auth-swift-sdk in our app but I'm a little confused with the params. We are building a crypto app and for that we are using Torus API for Login/Registration. It is working fine on the web using CustomAuth SDK.
On web, we init custom auth as follows:
And then use getTorusKey like so:
and I am trying to duplicate that functionality on iOS. So for iOS we have 3 options for login and registration (i.e. email/pass, SignIn/Up with Google and Apple). We have native iOS registration and login screens and for Google/Apple we can use browser redirection. So my question is, what options do I use for
'loginType'
and'jwtParams'
forSubVerifierDetails
. And what to use for CustomAuth;'network'
and'networkUrl'
. Following is how I implemented and it was returning data earlier, now I get error:commitment request failed
.Beta Was this translation helpful? Give feedback.
All reactions