Where to Store Tokens



This document covers an outdated version of Access TokensLock for iOS. We recommend you to upgrade to v2

Refresh TokensLock logs several pieces of useful debugging information using CocoaLumberjack.

If you are using a Lock version older than 1.10.0 please check here

By default all log messages are disabled but you can enable them in your AppDelegate.m (or AppDelegate.swift), for example if you want Lock's error messages just add this line:

Or if you want to all debug messages:

If you are already using CocoaLumberjack, you need to enable Lock's log after you register CocoaLumberjack's loggers.

Regular web apps

Lock versions < 1.10.0

Go to A0Logging.h and change the auth0LogLevel variable with the Log Level you'll want to see. for example:

And then you'll need to configure CocoaLumberjack (if you haven't done it for your app). You need to do it once so we recommend doing it in your AppDelegate: