# \#auth0swift

**URL:** https://community.auth0.com/tag/auth0swift/807.md

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

---

## [iOS: Display custom error message from action access.deny](https://community.auth0.com/t/ios-display-custom-error-message-from-action-access-deny/68008)

<div class="topic-metadata">

**Author:** [@Marius](https://community.auth0.com/u/Marius)\
**Replies:** 2\
**Last updated:** [September 1, 2021, 2:45pm UTC](https://community.auth0.com/t/ios-display-custom-error-message-from-action-access-deny/68008 "2021-09-01T14:45:13Z")

</div>

Greetings! We are using the auth0/Auth0.swift SDK Version 1.35.0. When returning an error message via a Login-Action, we get a generic error message, instead of the one returned in the action. We previously had a Ru…

---

## [Swift log-out function not working correctly](https://community.auth0.com/t/swift-log-out-function-not-working-correctly/19968)

<div class="topic-metadata">

**Author:** [@MauriceZedde](https://community.auth0.com/u/MauriceZedde)\
**Replies:** 1\
**Last updated:** [February 4, 2019, 4:16pm UTC](https://community.auth0.com/t/swift-log-out-function-not-working-correctly/19968 "2019-02-04T16:16:02Z")

</div>

Hi, Not sure if I post my question in the correct topic but I have troubles with log-out. In the app I use the following code: Auth0 .webAuth() .clearSession(federated: true) { (Bool) in A0SimpleKeychain.init(servi…

---

## [How to Re-login the user silently in background after the token is expired?](https://community.auth0.com/t/how-to-re-login-the-user-silently-in-background-after-the-token-is-expired/20529)

<div class="topic-metadata">

**Author:** [@MuraliKathir](https://community.auth0.com/u/MuraliKathir)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 3:26pm UTC](https://community.auth0.com/t/how-to-re-login-the-user-silently-in-background-after-the-token-is-expired/20529 "2019-01-25T15:26:49Z")

</div>

Once I log in the user with successful credentials, I have a time duration which the token expires. When the token expires, how to log in the user automatically in the background? I use the iOS Swift SDK.

---

## [Detect whether account is created during Social Media authentication](https://community.auth0.com/t/detect-whether-account-is-created-during-social-media-authentication/16093)

<div class="topic-metadata">

**Author:** [@strg](https://community.auth0.com/u/strg)\
**Replies:** 2\
**Last updated:** [October 3, 2018, 1:35pm UTC](https://community.auth0.com/t/detect-whether-account-is-created-during-social-media-authentication/16093 "2018-10-03T13:35:48Z")

</div>

Hi, I’m using Lock.swift v2 in my app, having only the Social Media login option enabled. Is there any way I can determine whether the user has created the new Account in Auth0 dashboard during the authentication, or ju…

---

## [Can't retrieve user metadata in Swift](https://community.auth0.com/t/cant-retrieve-user-metadata-in-swift/9794)

<div class="topic-metadata">

**Author:** [@Eros](https://community.auth0.com/u/Eros)\
**Replies:** 1\
**Last updated:** [March 14, 2018, 4:02pm UTC](https://community.auth0.com/t/cant-retrieve-user-metadata-in-swift/9794 "2018-03-14T16:02:50Z")

</div>

Hi! I’m trying to retrieve the user\_metadata with the Auth0.swift toolkit but i have a problem. I’m using the following example that appear in the documentation: Blockquote Auth0 .users(token: idToken) .get(“user …

---

## [When auth0 and lock for ios is going to be compatible with Swift 4?](https://community.auth0.com/t/when-auth0-and-lock-for-ios-is-going-to-be-compatible-with-swift-4/8340)

<div class="topic-metadata">

**Author:** [@jchirinos](https://community.auth0.com/u/jchirinos)\
**Replies:** 0\
**Last updated:** [September 29, 2017, 5:28am UTC](https://community.auth0.com/t/when-auth0-and-lock-for-ios-is-going-to-be-compatible-with-swift-4/8340 "2017-09-29T05:28:17Z")

</div>

Hey there, when moving my project to swift 3 to swift 4(also moving the frameworks of Auth0 and Lock) there is a lot of warnings and errors directly in the frameworks, my question is.. when is it going to be available th…

---

## [How do I create a user that is signing up via Facebook?](https://community.auth0.com/t/how-do-i-create-a-user-that-is-signing-up-via-facebook/8102)

<div class="topic-metadata">

**Author:** [@greg](https://community.auth0.com/u/greg)\
**Replies:** 1\
**Last updated:** [September 6, 2017, 4:03pm UTC](https://community.auth0.com/t/how-do-i-create-a-user-that-is-signing-up-via-facebook/8102 "2017-09-06T16:03:24Z")

</div>

We are using Auth0.swift. We would like to offer our users the ability to sign up for our service using Facebook, without being required to provide email/password, and then subsequently use the loginSocial function to lo…

---

## [Swift 3 : canOpenURL: failed for URL:](https://community.auth0.com/t/swift-3-canopenurl-failed-for-url/7786)

<div class="topic-metadata">

**Author:** [@mathew1](https://community.auth0.com/u/mathew1)\
**Replies:** 3\
**Last updated:** [September 5, 2017, 5:05am UTC](https://community.auth0.com/t/swift-3-canopenurl-failed-for-url/7786 "2017-09-05T05:05:19Z")

</div>

Hi All, I’m trying to implement Auth0 in my iOS Swift app. I’m following the steps at: GitHub - auth0/Lock.swift: A Swift & iOS framework to authenticate using Auth0 and with a Native Look & Feel · GitHub and Lock.swif…

---

## [iOS CredentialsManager not retrieving with non-OIDC](https://community.auth0.com/t/ios-credentialsmanager-not-retrieving-with-non-oidc/7611)

<div class="topic-metadata">

**Author:** [@david.yee](https://community.auth0.com/u/david.yee)\
**Replies:** 2\
**Last updated:** [July 21, 2017, 5:28pm UTC](https://community.auth0.com/t/ios-credentialsmanager-not-retrieving-with-non-oidc/7611 "2017-07-21T17:28:02Z")

</div>

I am using the Lock.swift (v2.3.1) and Auth0.Swift (v1.7.1) SDKs for iOS 9+. In the documentation for Auth0.Swift, it suggests that the class CredentialsManager can be used to store the Credentials object and retrieve it…
