Comments (5)
What type of login are you using, social or database?
If social, have you tried to clear Safari web site data in the iOs settings, and then to login again?
from auth0-cordova.
Thanks, but I've tried both and cleared Safari web site data in the settings before each attempt and it's still the same error.
from auth0-cordova.
can you see the actual URL auth0 is trying to redirect you back to?
perhaps you should try to remove the cordova-plugin-customurlscheme plugin and re-add it, with your
ionic plugin remove cordova-plugin-customurlscheme
ionic plugin add cordova-plugin-customurlscheme --variable URL_SCHEME=com.agilitycoursemaster.ACMaster
from auth0-cordova.
Thanks! I'd love to understand what makes a plugin need to be removed/reinstalled...
Now my console.log in the intent handler is being called but the Auth0 screen stays up with the busy spinner. If I click the Done button on the browser window I get the user canceled alert.
I also tried the "nuclear option" and removed/added the ios platform.
from auth0-cordova.
Found the solution! The customurlscheme and the pieces Auth0 uses to create it must all be lower case:
package.json:
"cordova-plugin-customurlscheme": {
"URL_SCHEME": "com.agilitycoursemaster.acmaster",
"ANDROID_SCHEME": " ",
"ANDROID_HOST": " ",
"ANDROID_PATHPREFIX": "/"
}
auth0-variables.ts:
export class Auth0Vars {
static AUTH0_CLIENT_ID = 'xxxxxxxxxxxxxxxxx';
static AUTH0_DOMAIN = 'agilitycoursemaster.auth0.com';
static PACKAGE_IDENTIFIER = 'com.agilitycoursemaster.acmaster';
}
@gregor-srdic thanks for your help!
from auth0-cordova.
Related Issues (20)
- Handling errors in redirect uri HOT 1
- Capacitor support HOT 13
- onRedirectUri faulty behavior after first login HOT 8
- Module not found: Error: Can't resolve 'crypto' in 'C://mypc/path/node_module/@auth0\cordova\src' HOT 1
- Angular support HOT 4
- Login screen hangs after entering credentials HOT 9
- Refresh tokens HOT 6
- iOS social provider signout problem HOT 3
- Custom Webpack is not used when using livereload on cordova run HOT 6
- Sign in with Apple - error on callback HOT 22
- Universal and Deep link support for iOS and Android HOT 3
- Use ASWebAuthenticationSessionManager with cordova HOT 4
- New Version Release HOT 1
- Cannot read properties of undefined (reading 'open') HOT 1
- net: ERR_UNKNOWN_URL_SCHEME with targetSdkVersion 30 HOT 11
- loading icon keeps spinning after social sign in using ionic V3 app on Android
- Could not load module crypto HOT 3
- New Release? HOT 1
- Login with Google is not asking the account to use HOT 2
- SafariViewController Closes before user can save or update password HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth0-cordova.