# \#ionic2

**URL:** https://community.auth0.com/tag/ionic2/403.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Ionic/Cordova + Auth0 social connection not working](https://community.auth0.com/t/ionic-cordova-auth0-social-connection-not-working/10931)

<div class="topic-metadata">

**Author:** [@Reinhard](https://community.auth0.com/u/Reinhard)\
**Replies:** 3\
**Last updated:** [April 18, 2018, 3:02pm UTC](https://community.auth0.com/t/ionic-cordova-auth0-social-connection-not-working/10931 "2018-04-18T15:02:30Z")

</div>

Hi auth0 community! i followed the quick start tutorial as explained here, with which I could access a email-password auth0 login page when trying to log in from my ionic app. However, when switching on the Google soci…

---

## [I have tried fresh downloaded ionic2+ demo of Auth0 but Can not working](https://community.auth0.com/t/i-have-tried-fresh-downloaded-ionic2-demo-of-auth0-but-can-not-working/9326)

<div class="topic-metadata">

**Author:** [@radhanpuraankit](https://community.auth0.com/u/radhanpuraankit)\
**Replies:** 11\
**Last updated:** [February 2, 2018, 8:38pm UTC](https://community.auth0.com/t/i-have-tried-fresh-downloaded-ionic2-demo-of-auth0-but-can-not-working/9326 "2018-02-02T20:38:32Z")

</div>

I have tried fresh downloaded ionic2+ demo of Auth0 from (https://manage.auth0.com/#/clients/TinP\_CVzKavoSWq4FsgA3UajKacAGT0h/quickstart) and I configired hosted page with passwordless. but Can not working I am receiving…

---

## [Auth0 PKCE flow additional access tokens](https://community.auth0.com/t/auth0-pkce-flow-additional-access-tokens/9330)

<div class="topic-metadata">

**Author:** [@aec4444](https://community.auth0.com/u/aec4444)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 6:25pm UTC](https://community.auth0.com/t/auth0-pkce-flow-additional-access-tokens/9330 "2018-12-14T18:25:39Z")

</div>

Hi I am working on a native app using Auth0Cordova. I have the login flow working using PKCE, redirecting to the hosted page on Auth0, and then having the app get the redirection. I can then access UserInfo and get …

---

## [Ionic 3.9.2 Access Tokens via auth0/cordova](https://community.auth0.com/t/ionic-3-9-2-access-tokens-via-auth0-cordova/9230)

<div class="topic-metadata">

**Author:** [@aec4444](https://community.auth0.com/u/aec4444)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 5:54pm UTC](https://community.auth0.com/t/ionic-3-9-2-access-tokens-via-auth0-cordova/9230 "2018-12-14T17:54:38Z")

</div>

We have an application and used the examples on the site to get refreshtoken from auth0 and login using auth0/cordova along with Ionic 3.9.2 for a native app. Now we need to retrieve access tokens for different APIs wit…

---

## [Advantages of auth0 cordova SDK compared to the old solution](https://community.auth0.com/t/advantages-of-auth0-cordova-sdk-compared-to-the-old-solution/6856)

<div class="topic-metadata">

**Author:** [@dev41](https://community.auth0.com/u/dev41)\
**Replies:** 5\
**Last updated:** [January 17, 2018, 12:02am UTC](https://community.auth0.com/t/advantages-of-auth0-cordova-sdk-compared-to-the-old-solution/6856 "2018-01-17T00:02:39Z")

</div>

I just figured out that there seems to be a new recomended way to integrate Auth0 into Ionic2+. I’m just wondering if there is any significant advantage of the new solution? I just made a quick test implementation in m…

---

## [Ionic 3 net:: ERR\_UNKNOWN\_URL\_SCHEME](https://community.auth0.com/t/ionic-3-net-err-unknown-url-scheme/9021)

<div class="topic-metadata">

**Author:** [@lysyongsheng](https://community.auth0.com/u/lysyongsheng)\
**Replies:** 2\
**Last updated:** [December 20, 2017, 8:44am UTC](https://community.auth0.com/t/ionic-3-net-err-unknown-url-scheme/9021 "2017-12-20T08:44:11Z")

</div>

I am trying to implement auth0 active directory into my Ionic 3 app,before that i am using the sample provided by auth0 using Ionic 2+ Quickstart tutorial : Everything up to this point is fine, but when i login: I …

---

## [Ionic 2+ Mobile and Web Hosted](https://community.auth0.com/t/ionic-2-mobile-and-web-hosted/7862)

<div class="topic-metadata">

**Author:** [@yannick1](https://community.auth0.com/u/yannick1)\
**Replies:** 15\
**Last updated:** [October 29, 2017, 9:18pm UTC](https://community.auth0.com/t/ionic-2-mobile-and-web-hosted/7862 "2017-10-29T21:18:38Z")

</div>

Hello my Ionic application will be deployed both as Apps on mobile, and hosted as a web app. How can I make the Auth0 Login available in web mode without getting the Cannot read property ‘isAvailable’ error? Can I use a…

---

## [Auth0-cordova won't login on iOS with WKWebView/Ionic](https://community.auth0.com/t/auth0-cordova-wont-login-on-ios-with-wkwebview-ionic/8377)

<div class="topic-metadata">

**Author:** [@saschwarz](https://community.auth0.com/u/saschwarz)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 3:55pm UTC](https://community.auth0.com/t/auth0-cordova-wont-login-on-ios-with-wkwebview-ionic/8377 "2017-10-18T15:55:16Z")

</div>

WKWebView is the preferred cordova plugin for use in Cordova and Ionic hybrid applications on iOS. But Auth0’s recommended solution for cordova/hybrid applications, auth0-cordova, doesn’t work WKWebView. This ticket was …

---

## [Getting an unknown URL scheme error in Ionic 2](https://community.auth0.com/t/getting-an-unknown-url-scheme-error-in-ionic-2/7280)

<div class="topic-metadata">

**Author:** [@ctl.deg](https://community.auth0.com/u/ctl.deg)\
**Replies:** 4\
**Last updated:** [October 17, 2017, 8:06pm UTC](https://community.auth0.com/t/getting-an-unknown-url-scheme-error-in-ionic-2/7280 "2017-10-17T20:06:37Z")

</div>

I have a problem integrating Auth0 authentication into an Ionic 2 application. After login, my app stay in blank page with error: “Web page not available”. Follow link of picture bellow: Imgur: The magic of the Interne…

---

## [Auth http: No JWT present or has expired](https://community.auth0.com/t/auth-http-no-jwt-present-or-has-expired/8417)

<div class="topic-metadata">

**Author:** [@me7](https://community.auth0.com/u/me7)\
**Replies:** 0\
**Last updated:** [October 7, 2017, 8:24pm UTC](https://community.auth0.com/t/auth-http-no-jwt-present-or-has-expired/8417 "2017-10-07T20:24:03Z")

</div>

I know there is a lot on different forums on this issue. I looked here, on ionic forum and on stackoverflow. When I’m trying to make an api call I get the response 401 (Unauthorized): No JWT present or has expired. in …

---

## [How to hide address bar](https://community.auth0.com/t/how-to-hide-address-bar/8167)

<div class="topic-metadata">

**Author:** [@jainath.ponnala](https://community.auth0.com/u/jainath.ponnala)\
**Replies:** 0\
**Last updated:** [September 13, 2017, 12:13pm UTC](https://community.auth0.com/t/how-to-hide-address-bar/8167 "2017-09-13T12:13:40Z")

</div>

I’m building mobile app using auth0 authentication using ionic 2. While authentication, auth0 navigates to URL using internal browser with address bar. Is there any way to hide address bar? Sample app can be found here. …

---

## [Ionic 2 PWA & Auth0](https://community.auth0.com/t/ionic-2-pwa-auth0/8054)

<div class="topic-metadata">

**Author:** [@clay](https://community.auth0.com/u/clay)\
**Replies:** 2\
**Last updated:** [September 6, 2017, 3:45pm UTC](https://community.auth0.com/t/ionic-2-pwa-auth0/8054 "2017-09-06T15:45:22Z")

</div>

We’re in the process of migrating our Ionic mobile app to Ionic 2 in the hopes of being able to code-share a significant portion between a progressive web app version and our mobile apps. However, the Auth0 + Ionic 2 s…

---

## [Ionic 2 page doesn't update after Auth0 successful login](https://community.auth0.com/t/ionic-2-page-doesnt-update-after-auth0-successful-login/8088)

<div class="topic-metadata">

**Author:** [@ignacio](https://community.auth0.com/u/ignacio)\
**Replies:** 0\
**Last updated:** [September 5, 2017, 3:05am UTC](https://community.auth0.com/t/ionic-2-page-doesnt-update-after-auth0-successful-login/8088 "2017-09-05T03:05:19Z")

</div>

I’ve successfully configured Auth0 in my Ionic 2 app using this tutorial: https://auth0.com/docs/quickstart/native/ionic2/01-login After login, when auth0 redirects back to the app, the page doesn’t change its content b…

---

## [Timeout when using renewAuth in Ionic 2 -- how do I format the callback Uri?](https://community.auth0.com/t/timeout-when-using-renewauth-in-ionic-2-how-do-i-format-the-callback-uri/7791)

<div class="topic-metadata">

**Author:** [@marcsyp](https://community.auth0.com/u/marcsyp)\
**Replies:** 4\
**Last updated:** [August 29, 2017, 7:59pm UTC](https://community.auth0.com/t/timeout-when-using-renewauth-in-ionic-2-how-do-i-format-the-callback-uri/7791 "2017-08-29T19:59:09Z")

</div>

Using auth0 in Ionic 2 with success, but I am not getting any response from the renewAuth method, and I believe it is because I am not properly formatting my silent callback Url. Or perhaps not posting a message from th…

---

## [Anyone successfully using ionic2 in desktop/hybrid-webapp mode with google oauth?](https://community.auth0.com/t/anyone-successfully-using-ionic2-in-desktop-hybrid-webapp-mode-with-google-oauth/7687)

<div class="topic-metadata">

**Author:** [@Brad\_Rust](https://community.auth0.com/u/Brad_Rust)\
**Replies:** 1\
**Last updated:** [August 22, 2017, 9:34pm UTC](https://community.auth0.com/t/anyone-successfully-using-ionic2-in-desktop-hybrid-webapp-mode-with-google-oauth/7687 "2017-08-22T21:34:25Z")

</div>

We have an ionic2 (3.6.0) application and a couple social logins enabled. using npm isntall “auth0-js”: “^8.6.1”, “auth0-lock”: “^10.16.0” and tried CDN as well (verses npm packages) We compile/deploy to platforms i…

---

## [Invalid access token - ionic 2+ SDK quickstart](https://community.auth0.com/t/invalid-access-token-ionic-2-sdk-quickstart/7902)

<div class="topic-metadata">

**Author:** [@findbl0k](https://community.auth0.com/u/findbl0k)\
**Replies:** 1\
**Last updated:** [August 21, 2017, 4:14am UTC](https://community.auth0.com/t/invalid-access-token-ionic-2-sdk-quickstart/7902 "2017-08-21T04:14:37Z")

</div>

I’ve spent a few days down this rabbit hole and I’m hoping someone here can help. I’m creating a mobile app based on the Auth0 Ionic 2+ SDK Quickstart. The login and redirect works great, and I retrieve a valid idToken. …

---

## [Callback URL overwritten in Ionic App](https://community.auth0.com/t/callback-url-overwritten-in-ionic-app/7876)

<div class="topic-metadata">

**Author:** [@yannick1](https://community.auth0.com/u/yannick1)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 2:54pm UTC](https://community.auth0.com/t/callback-url-overwritten-in-ionic-app/7876 "2017-08-17T14:54:05Z")

</div>

I am writing an Ionic App, which will also be served as a web app from the same code. So in this aspect I am using the Auth0-Lock with different callbacks based on the source (Apps or Web), in one case I use a standard U…

---

## [This site can’t be reached ionic 2 + Microsoft login](https://community.auth0.com/t/this-site-can-t-be-reached-ionic-2-microsoft-login/7747)

<div class="topic-metadata">

**Author:** [@pixielitdeveloper](https://community.auth0.com/u/pixielitdeveloper)\
**Replies:** 1\
**Last updated:** [August 4, 2017, 7:54pm UTC](https://community.auth0.com/t/this-site-can-t-be-reached-ionic-2-microsoft-login/7747 "2017-08-04T19:54:16Z")

</div>

The webpage at package id://domain name/cordova/package id/callback?code=yROiScGzzRBUgyif&state=LjEkbMzq7Ja\_P55vOT7Ux6xC9zN9Ne2Tj3P3KHTwmLM might be temporarily down or it may have moved permanently to a new web address. …

---

## [Ionic 2+ authentication without using auth0-cordova](https://community.auth0.com/t/ionic-2-authentication-without-using-auth0-cordova/7422)

<div class="topic-metadata">

**Author:** [@dev41](https://community.auth0.com/u/dev41)\
**Replies:** 3\
**Last updated:** [July 14, 2017, 3:57pm UTC](https://community.auth0.com/t/ionic-2-authentication-without-using-auth0-cordova/7422 "2017-07-14T15:57:34Z")

</div>

I would like to create a custom-login form for my Ionic 2+ application. Currently the only recommended way to do that is the use of the auth0 cordova library. I have to admit, that I’m not at all fan of this solution: …

---

## [Refresh token within Ionic App](https://community.auth0.com/t/refresh-token-within-ionic-app/7498)

<div class="topic-metadata">

**Author:** [@dan.kellett](https://community.auth0.com/u/dan.kellett)\
**Replies:** 3\
**Last updated:** [July 13, 2017, 8:46pm UTC](https://community.auth0.com/t/refresh-token-within-ionic-app/7498 "2017-07-13T20:46:25Z")

</div>

Is it possible to refresh a token within a Ionic/Cordova app? I’m looking at the renewAuth function in auth0.js, but not sure what the config object values should be. Specifically the redirectUri value.

---

## [Error: "Cannot read property 'isAvailable' of undefined"](https://community.auth0.com/t/error-cannot-read-property-isavailable-of-undefined/7376)

<div class="topic-metadata">

**Author:** [@aparna.thaker](https://community.auth0.com/u/aparna.thaker)\
**Replies:** 1\
**Last updated:** [July 13, 2017, 7:00pm UTC](https://community.auth0.com/t/error-cannot-read-property-isavailable-of-undefined/7376 "2017-07-13T19:00:01Z")

</div>

I have created app using ionic 2 and trying to test it by running ionic lab command to test it in the ionic emulator. Also uploaded it to the ionic view and tested in my android mobile but still it is throwing the error:…

---

## [Ionic2 & Auth0Lock - Blank screen after Registration with Android and iOS](https://community.auth0.com/t/ionic2-auth0lock-blank-screen-after-registration-with-android-and-ios/6876)

<div class="topic-metadata">

**Author:** [@pokerdiy](https://community.auth0.com/u/pokerdiy)\
**Replies:** 2\
**Last updated:** [June 15, 2017, 5:58am UTC](https://community.auth0.com/t/ionic2-auth0lock-blank-screen-after-registration-with-android-and-ios/6876 "2017-06-15T05:58:10Z")

</div>

Hello, This does not affect Facebook or Twitter users: When a new user signs up on our app on Android or iOS it shows a completely blank screen after the sign up. They click on the close button in the top right and the…

---

## [Reloading Ionic2+ Android app Azure authentication](https://community.auth0.com/t/reloading-ionic2-android-app-azure-authentication/6814)

<div class="topic-metadata">

**Author:** [@dhameer.govind](https://community.auth0.com/u/dhameer.govind)\
**Replies:** 1\
**Last updated:** [June 2, 2017, 7:48pm UTC](https://community.auth0.com/t/reloading-ionic2-android-app-azure-authentication/6814 "2017-06-02T19:48:26Z")

</div>

Hi there I managed to integrate the AUTH0 system into my Ionic2+ app. It works on Iphone, ios simulator and android simulator, but not on an android phone. It basically goes to the Auth0 login page. i can then login wi…

---

## [Ionic2 signup issue popup](https://community.auth0.com/t/ionic2-signup-issue-popup/6444)

<div class="topic-metadata">

**Author:** [@wedaigou](https://community.auth0.com/u/wedaigou)\
**Replies:** 3\
**Last updated:** [June 2, 2017, 6:49am UTC](https://community.auth0.com/t/ionic2-signup-issue-popup/6444 "2017-06-02T06:49:23Z")

</div>

After a successfull signup with lock I get a blank popup that covers all the screen. I have downloaded the demo app and works fine, I have even tried copying the dependencies to my project but still breaks. Please help…

---

## [Ionic 2+ setup](https://community.auth0.com/t/ionic-2-setup/6702)

<div class="topic-metadata">

**Author:** [@Ninos\_Yacoub](https://community.auth0.com/u/Ninos_Yacoub)\
**Replies:** 0\
**Last updated:** [May 22, 2017, 6:30am UTC](https://community.auth0.com/t/ionic-2-setup/6702 "2017-05-22T06:30:59Z")

</div>

Hi, I’m trying to upgrade my ionic setup from the old ionic 2 to ionic 2+ (Following the steps here: https://auth0.com/docs/quickstart/native/ionic2) and have some issues/questions: 1- Why is the setup guide not using …

---

## [Using Lock with Ionic 2 leads to a 403 (disallowed\_useragent) for Google authentication](https://community.auth0.com/t/using-lock-with-ionic-2-leads-to-a-403-disallowed-useragent-for-google-authentication/6596)

<div class="topic-metadata">

**Author:** [@mikeybyker](https://community.auth0.com/u/mikeybyker)\
**Replies:** 3\
**Last updated:** [May 13, 2017, 2:56pm UTC](https://community.auth0.com/t/using-lock-with-ionic-2-leads-to-a-403-disallowed-useragent-for-google-authentication/6596 "2017-05-13T14:56:03Z")

</div>

Auth0 Lock using Ionic 2 seems to have stopped working (for me…) - it was OK just a week ago but now, once I run the app on android, trying to login (with google) I get a 403: Error: disallowed\_useragent This user-agent…

---

## [Auth0-lock and Ionic2. Cutomize the login layout](https://community.auth0.com/t/auth0-lock-and-ionic2-cutomize-the-login-layout/6461)

<div class="topic-metadata">

**Author:** [@mbrown](https://community.auth0.com/u/mbrown)\
**Replies:** 3\
**Last updated:** [May 9, 2017, 8:27pm UTC](https://community.auth0.com/t/auth0-lock-and-ionic2-cutomize-the-login-layout/6461 "2017-05-09T20:27:42Z")

</div>

I’m having a weird issue with the login layout of Auth0 in Ionic2. I can’t customize the layout as I did with Angular2. Angular 2 Code: lock = new Auth0Lock(Auth0Vars.AUTH0\_CLIENT\_ID, Auth0Vars.AUTH0\_DOMAIN, { auth: { …
