# \#swift

**URL:** https://devforum.okta.com/tag/swift/43.md

[Latest](https://devforum.okta.com/latest.md) · [Categories](https://devforum.okta.com/categories.md) · [Tags](https://devforum.okta.com/tags.md)

---

## [Okta idx keep me signed in / device remember customization](https://devforum.okta.com/t/okta-idx-keep-me-signed-in-device-remember-customization/32963)

<div class="topic-metadata">

**Author:** [@ssmith59](https://devforum.okta.com/u/ssmith59)\
**Replies:** 1\
**Last updated:** [April 29, 2025, 7:48am UTC](https://devforum.okta.com/t/okta-idx-keep-me-signed-in-device-remember-customization/32963 "2025-04-29T07:48:57Z")

</div>

Is it possible to customize the remember me / keep me signed in with the idx flow? Let’s say we want to customize the experience and prompt users when verifying their authenticator. Is it possible to call some okta APIs…

---

## [localizationKey is null for identify step missing username/password](https://devforum.okta.com/t/localizationkey-is-null-for-identify-step-missing-username-password/32790)

<div class="topic-metadata">

**Author:** [@ssmith59](https://devforum.okta.com/u/ssmith59)\
**Replies:** 1\
**Last updated:** [April 2, 2025, 3:04pm UTC](https://devforum.okta.com/t/localizationkey-is-null-for-identify-step-missing-username-password/32790 "2025-04-02T15:04:52Z")

</div>

For using idx, in the android and swift sdks when there is a form error on the identify step, missing username/password fields, there is not a localization key for those fields. If we wanted to monitor around a unique i…

---

## [Get Domain from CIAM preprod envionment portal for a SwiftUI app](https://devforum.okta.com/t/get-domain-from-ciam-preprod-envionment-portal-for-a-swiftui-app/31707)

<div class="topic-metadata">

**Author:** [@NanoCaros](https://devforum.okta.com/u/NanoCaros)\
**Replies:** 1\
**Last updated:** [January 17, 2025, 10:07pm UTC](https://devforum.okta.com/t/get-domain-from-ciam-preprod-envionment-portal-for-a-swiftui-app/31707 "2025-01-17T22:07:21Z")

</div>

Hi I’m trying to implement Okta login in a iOS App with SwiftUI I’ve found multiple ways to do this: Using GitHub - okta/okta-mobile-swift: okta-mobile-swift Using Auth0 https://www.youtube.com/watch?v=X3L9GLrWQqI&ab…

---

## [Okta-idx-swift - issue selecting a phone authenticator method](https://devforum.okta.com/t/okta-idx-swift-issue-selecting-a-phone-authenticator-method/31590)

<div class="topic-metadata">

**Author:** [@ssmith59](https://devforum.okta.com/u/ssmith59)\
**Replies:** 1\
**Last updated:** [January 8, 2025, 2:16pm UTC](https://devforum.okta.com/t/okta-idx-swift-issue-selecting-a-phone-authenticator-method/31590 "2025-01-08T14:16:30Z")

</div>

I’m working with the okta-idx-swift package and am running into issues selecting a phone factor. I’ve tried the sample code from the example/signin samples folder. here is the sample below: func remediate(context: Au…

---

## [InvalidClient Error when sign in by mobile sdk](https://devforum.okta.com/t/invalidclient-error-when-sign-in-by-mobile-sdk/31497)

<div class="topic-metadata">

**Author:** [@ccmhwy](https://devforum.okta.com/u/ccmhwy)\
**Replies:** 1\
**Last updated:** [December 17, 2024, 4:31pm UTC](https://devforum.okta.com/t/invalidclient-error-when-sign-in-by-mobile-sdk/31497 "2024-12-17T16:31:58Z")

</div>

Hi, I have created an Web type Application on Okta with the Grant Type as “Authorization Code”. set Sign-in redirect URI: com.franklinwh.oktaExample:/callback clone okta-mobile-swift sdk and set configuration items in …

---

## [I have saved the credentials after login but got different access token and id\_token while retrieving](https://devforum.okta.com/t/i-have-saved-the-credentials-after-login-but-got-different-access-token-and-id-token-while-retrieving/29275)

<div class="topic-metadata">

**Author:** [@maheshnarla](https://devforum.okta.com/u/maheshnarla)\
**Replies:** 1\
**Last updated:** [July 19, 2024, 2:11pm UTC](https://devforum.okta.com/t/i-have-saved-the-credentials-after-login-but-got-different-access-token-and-id-token-while-retrieving/29275 "2024-07-19T14:11:14Z")

</div>

I have integrated SSO in my iOS app and I’m saving the credentials as below. try Credential.store(token, tags: \[OEConstants.SSOConstants.ssoCredTag: OEConstants.SSOConstants.ssoCredValue\]) And retrieving the credential…

---

## [Email OTP login with Okta mobile swift 'OktaDirectAuth' possible?](https://devforum.okta.com/t/email-otp-login-with-okta-mobile-swift-oktadirectauth-possible/27522)

<div class="topic-metadata">

**Author:** [@CesarMejia](https://devforum.okta.com/u/CesarMejia)\
**Replies:** 0\
**Last updated:** [April 2, 2024, 3:09pm UTC](https://devforum.okta.com/t/email-otp-login-with-okta-mobile-swift-oktadirectauth-possible/27522 "2024-04-02T15:09:25Z")

</div>

I’m working with the Okta mobile swift repo, specifically with the OktaDirectAuth library… I was wondering if this library supports entering en email opt code to log in ‘natively’ (without WebAuthenticationUI). Here’s a…

---

## [Okta swift mobile - iOS native passwordless (OTP): Recommended way to register and to send OTP email](https://devforum.okta.com/t/okta-swift-mobile-ios-native-passwordless-otp-recommended-way-to-register-and-to-send-otp-email/26781)

<div class="topic-metadata">

**Author:** [@CesarMejia](https://devforum.okta.com/u/CesarMejia)\
**Replies:** 2\
**Last updated:** [February 16, 2024, 4:36am UTC](https://devforum.okta.com/t/okta-swift-mobile-ios-native-passwordless-otp-recommended-way-to-register-and-to-send-otp-email/26781 "2024-02-16T04:36:36Z")

</div>

Hi, I’m trying to go passwordless and I’ve found that the Okta-Sign-In widgets works very well. However, before going all in with the Okta-Sign-In Web Widget, I’m trying to check if an iOS native passwordless approach i…

---

## [Seeking Urgent Assistance for Okta Integration in iOS App](https://devforum.okta.com/t/seeking-urgent-assistance-for-okta-integration-in-ios-app/26785)

<div class="topic-metadata">

**Author:** [@aspireitech](https://devforum.okta.com/u/aspireitech)\
**Replies:** 1\
**Last updated:** [February 12, 2024, 6:01pm UTC](https://devforum.okta.com/t/seeking-urgent-assistance-for-okta-integration-in-ios-app/26785 "2024-02-12T18:01:48Z")

</div>

Hi Team, I hope this message finds you well. I am currently working on the development of a secure iOS application using Swift for our company. Currently, our app has a signing page that is authenticated with local log…

---

## [When to use revoke() and when signOut() Swift SDK](https://devforum.okta.com/t/when-to-use-revoke-and-when-signout-swift-sdk/24359)

<div class="topic-metadata">

**Author:** [@aurimasbavarskis](https://devforum.okta.com/u/aurimasbavarskis)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 10:40pm UTC](https://devforum.okta.com/t/when-to-use-revoke-and-when-signout-swift-sdk/24359 "2023-05-25T22:40:55Z")

</div>

I am using Okta Swift SDK. It is not fully clear to me when (Credential) revoke() should be used and when (WebAuthentication) signOut() flow should be used. From the SDK documentation: Revoking a token causes it to b…
