question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configuration for Ionic 5 and Capacitor 2

See original GitHub issue

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search for issues before submitting
- [x] feature request

Versions.

Ionic:

   Ionic CLI                     : 6.5.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.0.7
   @angular-devkit/build-angular : 0.901.0
   @angular-devkit/schematics    : 9.1.0
   @angular/cli                  : 9.1.0
   @ionic/angular-toolkit        : 2.2.0

Capacitor:

   Capacitor CLI   : 2.0.1
   @capacitor/core : 2.0.1

Utility:

   cordova-res : 0.11.0
   native-run  : 1.0.0

System:

   NodeJS : v13.12.0 (/usr/local/bin/node)
   npm    : 6.14.4
   OS     : Linux 5.3

"keycloak-js": "^9.0.3",
"keycloak-angular": "^7.2.0",

Is there any way to set up keycloak-angular with Ionic 5 and Capacitor 2? If so, could I have a configuration example? I think I tried everything (adapters, onLoad and flow types) and I was unable to log in and log out correctly using keycloak.

Thank you in advance for your help.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

8reactions
christian-kockecommented, Nov 5, 2021

@wieczorekmarcin could you share the code for your custom capacitor adapter ?

4reactions
tuxflocommented, Mar 26, 2021

Sorry for replying to an already closed issue but could you give me some hints/helpful links or documentation on how to create the custom adapter (custom adapter implementation). I just convinced some people to use keycloak for our ionic app instead of doing authentication on our own and didn’t realize that it isn’t that easy with capacitor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using with Ionic Framework | Capacitor Documentation
Using Capacitor with Ionic Framework. Capacitor can quickly be installed directly into any new or existing Ionic app by using the Ionic CLI....
Read more >
Maintain a Global Configuration File - Ionic Framework
Set and print configuration values from project config files and the global CLI config file with Ionic CLI. Read to learn more about...
Read more >
Ionic Capacitor - Ionic 5 Full Starter App
Ionic Capacitor is a cross-platform app runtime that makes it easy to build web apps that run natively on iOS, Android, Electron, and...
Read more >
Ionic & Capacitor SDK Setup - OneSignal Documentation
Instructions for adding the OneSignal SDK to your Ionic or Capacitor app for iOS, ... Ionic CLI v2 ... Step 5. Configure your...
Read more >
How to create an Ionic 5 app - For beginners - Enappd
Regarding the build/runtime environment, Ionic now supports Cordova and Capacitor. While Cordova is the elder one, with larger community and stable builds, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found