i’m using XCode: 11.0 & iOS 12+.
By using above link i have downloaded Objective-C Code
I have added my Domain ID & Client ID and run the app , it is working as expected (it is returning token ) in your sample code.
by using that token calling “userinfo” web services then it is returning all user details correctly in your sample code.
After integrate same code into my Project by using CocoaPods , there is no issues , integrated successfully
i’m using webLogin (it is taking iOS Safari browser to return “Login Page”)
i set Callback & Logout url as:
- by using “HybridAuth.swift” i’m calling below code into my Project (Objective-C )
HybridAuth *auth = [[HybridAuth alloc] init];
[auth showLoginWithScope:@"openid profile"
connection:nil callback:^(NSError * _Nullable error,
A0Credentials * _Nullable credentials)
//NSLog(@"Error: %@", error);
else if (credentials)
[self showAlertWithMessage:[NSString stringWithFormat:@"Success, Access Token: %@", [credentials accessToken]]];
in Auth0 Web Login Page, After enter username & password - Click on login button then appearing one issue is: “SAFARI CAN NOT OPEN THE PAGE BECAUSE THE ADDRESS IS INVALID“ (it is working in your code, why not working in my project ?)
Some time before loading the Login page then also showing “SAFARI CAN NOT OPEN THE PAGE BECAUSE THE ADDRESS IS INVALID“ .