You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup a new application using AnalogJs. I just tried adding the auth0/angular package and setup as advised in the auth0 docs, but the Login does not work properly.
When calling loginWithRedirect() I am able to log in in the Logs I can see a Login Event but no more. In my Application I am not able to use the isAuthenticated and user$ because they are always "false" and "null".
In my network tab I can see the following session being set:
I also tried the SPA and Regular Web App setup.
Describe the ideal solution
I want to be able to use the auth0 package within my AnalogJs setup
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
@frederikprijck sorry, about that.
To reproduce. Checkout the repo, npm i (or bun), run "nx serve coffeelogger". Then you login with your Github Account (app must run on localhost:4200 but its default anyway). Then you will be forwarded to the app again and you can see in the logs, that no user will be available.
Relevant code:
Checklist
Describe the problem you'd like to have solved
I am trying to setup a new application using AnalogJs. I just tried adding the auth0/angular package and setup as advised in the auth0 docs, but the Login does not work properly.
![Screenshot 2024-06-08 at 20 15 50](https://private-user-images.githubusercontent.com/43446941/337924321-d54a4843-78f0-44c2-b199-eb67ba172abc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NzYwNDksIm5iZiI6MTcyNTU3NTc0OSwicGF0aCI6Ii80MzQ0Njk0MS8zMzc5MjQzMjEtZDU0YTQ4NDMtNzhmMC00NGMyLWIxOTktZWI2N2JhMTcyYWJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDIyMzU0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUxMTYzM2IyZGJkMDA4NGQzMzc5YzY4Y2M5ZGFiM2Q4NTU3YTEwYjYxZmNmM2ExMjY3OGJiNDVmNmYwMDJkYTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qJHX_BTMPKlTqbZWUxjXUrs7uv8sdUMdVw7ghQPLniQ)
When calling loginWithRedirect() I am able to log in in the Logs I can see a Login Event but no more. In my Application I am not able to use the isAuthenticated and user$ because they are always "false" and "null".
In my network tab I can see the following session being set:
![Screenshot 2024-06-08 at 20 18 50](https://private-user-images.githubusercontent.com/43446941/337924438-fc9d65b0-8c93-48d6-8e93-e20ce5b25d0d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NzYwNDksIm5iZiI6MTcyNTU3NTc0OSwicGF0aCI6Ii80MzQ0Njk0MS8zMzc5MjQ0MzgtZmM5ZDY1YjAtOGM5My00OGQ2LThlOTMtZTIwY2U1YjI1ZDBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDIyMzU0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiZTViODAwODNkMDJhNDRhZWRhOTZlYzY1OGVjN2JmZDQ3MzVkOWUwZWY5YzZkNDU2NGNiNDQyODFiYjM4NDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.EO-lfivDci8OFFv3HtT0prRY-Qsx4soMXHoaqTv0L_8)
I also tried the SPA and Regular Web App setup.
Describe the ideal solution
I want to be able to use the auth0 package within my AnalogJs setup
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: