New Ionic 5 Angular 8 Restful API User Authentication Login and Signup using Guard and Resolver
HTML-код
- Опубликовано: 8 окт 2024
- How to implement with New Ionic 5 Angular 8 Restful API User Authentication Login, Sign up and Logout using Guard and Resolver
www.9lessons.i...
Many people want to also know how the api is receiving the data and connecting it to databases.... This is very important
thanks a lot. I am new in ionic and u help a lot .
Hi Srinivas, two questions:
Why did not you use the http interceptors ?
Is it a good practice to do the services like you did in the video?
Thanks for your content! please keep making more ionic videos
Very good explanation for understanding the architecture. Is the source code available on Github?
Nice video , help me a lot ,thanks Shrinivas sir🙏
I hope you can show more projects sir. Thank you for inspiring me to learn more about app development through ionic
Kudos once again!
Do you have the same video but with OAuth2 ?
thanks of lot bro
Very well explained!!! Thank you! :)
Continue sir
Hi, in the minute 8:21 exist an error, is const options = {headers, withCredentials: false};
and for set multiple headers is there
stackoverflow.com/questions/45286764/adding-a-http-header-to-the-angular-httpclient-doesnt-send-the-header-why
Thanks!! great tuto
Great video. Brother, I need information on how to login with OTP on mobile sms with email, mobile no & password entry in the form.
Thanks for tuto. hwo to add menu in this? no menu in login page. thks
Thanks for teaching me brother.. app working fine but can you please tell me how i can get data in server side..using laravel but cant get data tried everything .. seems this data is not sending in server side.
Can you tell how to exit the application when clicking a button or icon using Ionic 5 Angular 9 in a home page. Also how to communicate Ionic 5, Angular 9 with Firebase DB with Mobile/EMail authentication.
How can I add a loadingController when you press Login? Please I am finding that part of the loading like a crazy but I dont find any information
Can u tell me how to extract data after calling the get method for local storage .
Actually I am not able to extract key value pairs of my data
please help
How to use page transition animation from WelcomePage to LoginPage or from WelcomePage to SignupPage, routerLink and routerDirection doesn't work
You haven't told anything about sign up page, and how a new user Regis themselves ?
Can you please make a video on creation of pdf using ionic 5.4.16
Angular httpClient has some issues when executed on native devices and emulators
But u can use ionicframework.com/docs/native/http
this.validateInputs() always return blank in case of signup, please help
Can you share the signup code
New Ionic 5 Angular 8 Restful API User Authentication Login and Signup using JWT ?? I hope it....Thanks
I am getting error to run the android studio.
I am getting error on android emulator can you help:
{"headers":{"normalizedNames":{},"lazyUpdate":null,"headers":{}},"status":0,"statusText":"Unknown Error","url":"[url]/api/login","ok":false,"name":"HttpErrorResponse","message":"Http failure response for [url]/api/login: 0 Unknown Error","error":{"isTrusted":true}}
I am using Laravel 6 as backend server.
Serving on another laptop and accessing it from another server like its live. but its not HTTPS its just HTTP.
I cant find any solution anywhere.
ok turns out for emulators I have to add the following lines the manifest file under application tag:
android:usesCleartextTraffic="true"
[yourproject]/android/app/src/main/AndroidManifest.xml
PS: remember to set cors in index.php file or whatever your entry point may be. if you are using .htaccess file check CORs for that online.
{{displayUserData?.username}} not display the username but {{displayUserData}} show the all userdata. any solution?
Is a observable?
Cannot find name data in 08:14
alwats show data already exist in sign up page
Same here
@@Roast1981 i never resolve it
Hi am getting CORS error ..How to resolve please help
Add those line in your php code (Login.php / home.php)
hope it 's help
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST ,OPTIONS, PUT');
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
header('Content-Type: application/json');
@@accinformaticas.a.6985 if i dont have login.php and home.php, where do i leave that, pls help me
@@AllTypes you can put tose lines o f code in any php files you have in your server
(CORS) is a mechanism that browsers and webviews - like the ones powering Capacitor and Cordova - use to restrict HTTP and HTTPS requests ....... the server has to send some special headers for the browser to allow the requests.
Hope it help
@@accinformaticas.a.6985 ok, but i dont have file with extension .php. i use ionic 5 and angular 8, the cors is the only problem
@@AllTypes En este caso tienes que pegar un vistazo en este link
ionicframework.com/docs/faq/cors
this is PWA based.
in Application -> local storage is showing as empty for me, there is no key and value for it
core.js:6456 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'set' of undefined
TypeError: Cannot read property 'set' of undefined
at StorageService. (storage.service.ts:13)
at Generator.next ()
at tslib.es6.js:76