1.20.0 (2020-01-03)
Added
1.19.3 (2019-11-27)
Fixed
1.19.2 (2019-11-14)
Added
1.19.1 (2019-10-31)
Added
Fixed
1.19.0 (2019-10-15)
Added
- CredentialsManager function to clear and revoke the refresh token #312 (stevehobbsdev)
1.18.0 (2019-09-20)
Added
- Default DismissButtonStyle when using SFSafariViewController iOS 11+ #305 (andrewfoghel)
- Added SIWA token exchange support #304 (cocojoe)
1.17.1 (2019-09-04)
Fixed
1.17.0 (2019-08-27)
Added
- Added support for iOS13 changes in ASWebAuthenticationSession #297 (cocojoe)
- Added authentication method for default directory login #296 (cocojoe)
Notes Behaviour changes in iOS 13 relating to Web Authentication require that in Xcode 11 this library must be compiled using Swift 5.x. This should be the default setting unless it has been manually changed.
1.16.1 (2019-07-29)
Fixed
1.16.0 (2019-07-17)
Added
Fixed
- Fix: Remove force unwrap in AuthSession handler #286 (cocojoe)
- Fix Dismiss AS/SF authentication sessions upon deep-link callback #281 (cysp)
- Update app configuration error message for PKCE #280 (lbalmaceda)
1.15.0 (2019-04-24)
Added
1.14.2 (2019-03-18)
Changed
- Ensure URL encoding of + as %2B Authorize URL [SDK-691] #259 (cocojoe)
- Updated Auth0 Telemetry Format #256 (cocojoe)
1.14.1 (2019-01-11)
Fixed
- Add Fix for Brew in Swift 3.0 CI #254 (cocojoe)
- Pods Fix - Move AuthenticationServices to weak_framework section #253 (ivabra)
1.14.0 (2018-12-06)
Added
- Added ASWebAuthenticationSession Support iOS12 #245 (cocojoe)
- Add Multiple Platform CI #242 (cocojoe)
Fixed
1.13.0 (2018-09-17)
Fixed
1.12.0 (2018-07-26)
Added
- Added support for custom Keychain key in Credentials Manager #208 (danielphillips)
- Enable Credentials Manager for tvOS and Mac Platforms #206 (cocojoe)
Fixed
1.11.1 (2018-06-08)
Added
1.11.0 (2018-05-11)
Added
Changed
1.10.1 (2018-03-08)
Fixed
- Fixed client ID and redirect URL query items not being passed in nonfederated clearSession() #188 (Rypac)
1.10.0 (2018-01-05)
Changed
1.9.2 (2017-11-17)
Fixed
1.9.1 (2017-10-20)
Fixed
1.9.0 (2017-10-19)
Added
1.8.0 (2017-09-15)
Changed
Fixed
1.7.2 (2017-09-11)
Added
Fixed
1.7.1 (2017-07-11)
Added
1.7.0 (2017-06-26)
Added
- Added OIDC Conformant UserInfo class and API Method #122 (cocojoe)
- Added scope property to Credentials #120 (cocojoe)
- Added Touch ID Utility #116 (cocojoe)
Changed
- Use new SFSafariViewController init for iOS11 #125 (cocojoe)
- Refactor deprecated Matcher protocol with Predicate protocol #117 (cocojoe)
Deprecated
1.6.0 (2017-06-06)
Added
- Added WebAuth Auth0 Session Clear #115 (cocojoe)
- Credentials support NSSecureCoding, CredentialsManager Utility, KeyChain Storage #113 (cocojoe)
- Added method to revoke refresh tokens #111 (cocojoe)
Changed
- Xcode 8.3 Compatibility #108 (cocojoe)
- Use built-in Carthage Cache system #107 (hzalaz)
- Update Dependencies #105 (cocojoe)
Fixed
1.5.0 (2017-03-27)
Added
1.4.0 (2017-03-16)
Added
1.3.0 (2017-03-13)
Added
- Authentication can now create WebAuth instances for given connection #98 (cocojoe)
- Added connection scopes to web auth #96 (hzalaz)
Changed
Fixed
1.2.0 (2017-02-06)
Added
- Native Authentication support #86 (cocojoe)
- Added SwiftLint to project #84 (cocojoe)
- Profile timestamp to expect epoch, fallback to ISO8601 #83 (cocojoe)
Fixed
1.1.1 (2017-01-02)
Fixed
1.1.0 (2016-12-16)
Closed issues
Added
- Credentials exposes expires_in if returned after auth #72 (cocojoe)
- Added grant type password realm support #71 (cocojoe)
- Support refresh token authentication #69 (cocojoe)
- Support for audience parameter for WebAuth #67 (cocojoe)
- Multiple respone_type support #65 (cocojoe)
- Support id_token response type #62 (cocojoe)
Changed
Deprecated
1.0.1 (2016-11-23)
Fixed
1.0.0 (2016-10-06)
Closed issues
- Facebook Login web page does not redirect to the application at the first login #51
Fixed
1.0.0-rc.4 (2016-09-18)
This version (and future ones) requires Xcode 8 and Swift 3. For Swift 2.3 please check the branch [email protected]
Closed issues:
Changed:
1.0.0-rc.3 (2016-09-14)
Closed issues:
- Xcode 8 Support? #44 (gbejarano01)
Changed:
1.0.0-rc.2 (2016-09-09)
Changed:
Breaking changes:
The function enableLogging()
was removed, so now to enable logging in the library you should enable it per-client instead of globally.
For Auth API
var auth = Auth0.authentication()
auth.logging(enabled: true)
For Users API
var users = Auth0.users(token: "token")
users.logging(enabled: true)
Also now you can provide a custom Logger to replace the default one (which just uses Swift print
). It only needs to implement the protocol Logger
let logger = MyCustomLogger()
var auth = Auth0.authentication()
auth.usingLogger(logger)
1.0.0-rc.1 (2016-08-17)
Added:
1.0.0-beta.7 (2016-07-29)
Added:
Changed:
- Improve error handling and Auth session management #39 (hzalaz)
- Avoid using global telemetry. #38 (hzalaz)
1.0.0-beta.6 (2016-07-26)
Added:
- Unlink method in ObjC bridge #36 (sebacancinos)
- Load Auth0 credentials from plist from ObjC #37 (hzalaz)
1.0.0-beta.5 (2016-06-30)
Changed:
Breaking changes:
The UserProfile
is not named Profile
(in Objective C is A0Profile
).
1.0.0-beta.4 (2016-06-30)
Added:
Fixed:
- Made
start()
ofConcatRequest
public #31 (pablolvillar) - Send Authorization header was sent for Users API #33 (hzalaz)
1.0.0-beta.3 (2016-06-20)
Added:
- Show better error when PKCE is not enabled in client #30 (hzalaz)
- Auth0 telemetry information #29 (hzalaz)
- Multifactor support for
/oauth/ro
#28 (hzalaz)
Changed:
- Added parameter labels in Authentication API methods #27 (hzalaz)
- Reworked Error handling #26 (hzalaz)
Breaking changes:
Most of the Authentication API methods first parameters labels are required so for example this call:
Auth0
.login("[email protected]", password: "secret", connection: "connection")
now needs to have the usernameOrEmail
parameter label
Auth0
.login(usernameOrEmail: "[email protected]", password: "secret", connection: "connection")
Now all Result
object return ErrorType
instead of a specific error, this means that OS errors like no network, or connection could not be established are not wrapped in any Auth0 error anymore.
Also the error types that Auth0.swift API clients can return are no longer an enum but a simple object:
- Authentication API:
AuthenticationError
- Management API:
ManagementError
Each of them has it's own values according at what each api returns when the request fails. Now to handle Auth0.swift errors in your callback, you can do the following:
Auth0
.login(usernameOrEmail: "[email protected]", password: "secret", connection: "connection")
.start { result in
switch result {
case .Success(let credentials):
print(credentials)
case .Failure(let cause as AuthenticationError):
print("Auth0 error was \(cause)")
case .Failure(let cause):
print("Unknown error: \(cause)")
}
}
Also, AuthenticationError
has some helper methods to check for common failures:
Auth0
.login(usernameOrEmail: "[email protected]", password: "secret", connection: "connection")
.start { result in
switch result {
case .Success(let credentials):
print(credentials)
case .Failure(let cause as AuthenticationError) where cause.isMultifactorRequired:
print("Need to ask the user for his mfa code!")
case .Failure(let cause):
print("Login failed with error: \(cause)")
}
}
1.0.0-beta.2 (2016-06-09)
Added:
- Authenticate a user using web-based authentication with Auth0, e.g. social authentication. (iOS Only) #19,#20 & #24 (hzalaz)
- Load Auth0 clientId & domain from a plist file #21 (hzalaz)
- Request Logging support #23 (hzalaz)
Fixed:
1.0.0-beta.1 (2016-05-25)
Added:
- Auth0 Authentication API endpoints, now you can use Auth0.swift to write your own login box.
Changed:
- Dropped support for iOS 8
- Reworked Swift API and updated to Swift 2.2
- Removed Alamofire as dependency, all networking is done with
NSURLSession
directly - Request callbacks, in Swift, have a single value of enum
Result<Payload,ErrorType>
- Improved code docs
0.3.0 (2016-04-25)
Closed issues:
- Alamofire dependency #5
Merged pull requests:
- Update dependencies and fix compile issues #7 (hzalaz)
- Load domain from Auth0.plist if not in main infoDictionary #4 (bradfol)
0.2.0 (2015-09-17)
Merged pull requests:
0.1.2 (2015-07-03)
Merged pull requests:
0.1.1 (2015-07-02)
0.1.0 (2015-07-02)
* This Change Log was automatically generated by github_changelog_generator