Comments (9)
Do you have the Lock script coming through ok in your index.html
?
<script src="https://cdn.auth0.com/js/lock/10.11/lock.min.js"></script>
from auth0-ionic2.
Yes i have it.
I follow this instruccions https://auth0.com/docs/quickstart/native/ionic2
Yo can check my example here: https://drive.google.com/file/d/0B-dPjNL8f-MsQ0phenB2NUxBMGc/view?usp=sharing
Thanks!!
from auth0-ionic2.
Do you have this line in your AuthService
?
declare var Auth0Lock: any;
from auth0-ionic2.
Thankssss its work!
from auth0-ionic2.
Know i have this error whn i try to login with google , 400. That’s an error.
Error: redirect_uri_mismatch
Request Details
response_type=code
redirect_uri=https://pookdeveloper.eu.auth0.com/login/callback
scope=email profile
state=n8XAkDQWM1L4pCwhBxPOTeHOcmIAf1vk
client_id=147300586785-vp56s99ar7dt6bllim70mabc7dpt879t.apps.googleusercontent.com
That’s all we know.
In your service where you can try it works correctly:
{
"email": "[email protected]",
"email_verified": true,
"name": "pook developer",
"given_name": "pook",
"family_name": "developer",
"picture": "XXXXXXXXXXXXXXXXXXX",
"locale": "es",
"clientID": "XXXXXXXXXXXXXXXXXXX",
"updated_at": "2017-02-26T12:55:52.020Z",
"user_id": "google-oauth2|108928686632243103914",
"nickname": "pookdeveloper",
"identities": [
{
"provider": "google-oauth2",
"user_id": "XXXXXXXXXXXXXXXXXXX",
"connection": "google-oauth2",
"isSocial": true
}
],
"created_at": "2016-04-30T19:58:24.536Z",
"sub": "google-oauth2|XXXXXXXXXXXXXXXXXXX"
}
Thanks
from auth0-ionic2.
Make sure you've got the following settings added to your Lock options:
auth: {
sso: false,
redirect: false
}
Also, make sure you've got this added to your Allowed Callback URLs
https://pookdeveloper.eu.auth0.com/mobile
from auth0-ionic2.
HomePage.html:13 ERROR TypeError: Cannot read property 'isAvailable' of undefined
at Function.Browser.isAvailable (browser.js:8)
from auth0-ionic2.
from auth0-ionic2.
you know to what is due? thanks
from auth0-ionic2.
Related Issues (20)
- App crashes on "Sign Up" HOT 9
- iOS Emulator Crash/Freeze HOT 1
- Doesn't work with ionic beta.10 HOT 4
- Back button doesn't work after login (ex fb) HOT 1
- Undefined alert after ~20sec when social login popup is open HOT 3
- How to Unit Test this? HOT 1
- Lock 10 problem for my app and how to solve it?!?! HOT 1
- When screen size is bigger than mobile, I lost all control after login... HOT 3
- Lost margin-top: 56px when successfully lock in redirect... HOT 1
- Example using my own login screen HOT 4
- Relogin problems HOT 1
- Error: Uncaught (in promise): TypeError: Cannot read property 'split' of null on "startupTokenRefresh()" HOT 1
- not working with ionic2 beta 11 HOT 3
- Upgrade to Ionic2 RC0 HOT 1
- CustomURLScheme adding Issue HOT 3
- Duplicated viewport meta tag HOT 1
- cannot get it to run, keeps on throwing errors HOT 5
- doesn't work HOT 1
- UNMET PEER DEPENDENCY HOT 4
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-ionic2.