-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auth0-angular may be not working on latest ionic framework with angular 16 #526
Comments
Thanks for reaching out. I will have a look to try and see what's going on. |
There are a couple of scenario's at play here. First step, I upgraded the sample application to use Angular 16, see this PR. It seems to work fine when using Angular 16 in our sample repository, which is using Capacitor 4. Next up, I will look into upgrading capacitor to 5 and open a PR. |
I updated capacitor to v5 using Could you have a look and see what would differ from your project? Could you verify what you have for |
@frederikprijck thanks a lot friend for approaching, the latest app you provided with angular 16 and capacitor 5 its working fine. But one thing I noticed your capacitor.config.ts file and capacitor.conifig.ts of mine are different.
I don't understand the thing about https you mentioned , where I should change the auth0 config. |
In Auth0's dashboard, the logs should tell you more. Can you see if you find any logs ? Additionally, if you look at https://auth0.com/docs/quickstart/native/ionic-angular/interactive, everywhere where it asks you to configure Auth0 with |
Closing as I think this has been answered. Ping me if you need further assistance |
Checklist
Description
First I tried https://github.com/auth0-samples/auth0-ionic-samples/tree/main/angular and made a change inside AndroidManifest.xml for redirecting from auth0 browser window to the app. It worked fine, then I created a new project with angular 16 and capacitor 5 (other capacitor libs are in 5 major version) copied app folder from the sample project then I ran the app in my device and tried to login , after authentication user info is not fetched and authenticated is not true.
Then I tried the same technique in my existing ionic app with angular 15 and capacitor 4 then the app ran as expected.
Note: I tried with capacitor 4 with angular 16 but that didn't work as well.
Reproduction
Additional context
No response
auth0-angular version
2.2.0
Angular version
16
Which browsers have you tested in?
Other
The text was updated successfully, but these errors were encountered: