Ionic Redirect after Login with Angular Guards

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

Комментарии • 40

  •  3 года назад +2

    That is perfect, @Simon However, there is a more challenging and somewhat tedious scenario and it is the "stop navigation" or overwrite the action: "IonBackButton" and between them, interfaces like canDeactivate or as fast as possible, overwrite the reference of the backButton.

  • @leemott91
    @leemott91 3 года назад +1

    Nice video, wondered how this would be possible and definitely would improve user interaction with this feature. FTW Turbo Console Log for automatically console.log of a variable with a keyboard shortcut

  • @reacaosistemas5746
    @reacaosistemas5746 3 года назад +2

    Eu estava precisando disso. Obrigado!

  • @createfinders
    @createfinders 3 года назад +1

    Thanks big brother , the day i learned angular and later on ionic .. i am totally in love with these frameworks.😘😘

  • @AndreyKlochkov
    @AndreyKlochkov 3 года назад +1

    Thanks a lot for the video!
    Simon, have you ever implemented solution for sharing the app with referral link?
    The idea is to pass the param into the application.
    Probably it can be done with deep links but still I'm not sure how it should work in the scenario when the app is not installed.
    So the extra parameter should go from link to the App Store, then the app should be installed and then it should be passed inside the app during the first launch.
    What would you suggest?

    • @galaxies_dev
      @galaxies_dev  3 года назад

      Well deeplink would be the way to go in general, but more specific universal links. That means, it's basically a link to your website and if the app is installed, the app would open. Then you can also simply have a fallback page on your website that otherwise opens where you put the link to the app stores, since people don't seem to have the app installed when they reach that page!

  • @larryamisola
    @larryamisola 3 года назад +1

    Superb! Thanks for this great tutorial

  • @jamespeterson7824
    @jamespeterson7824 3 года назад +1

    Great tutorial.And thanks for sharing this.

  • @irohwavez
    @irohwavez 3 года назад +1

    Great tutorial. Thank you.

  • @mustafabekec
    @mustafabekec 3 года назад +1

    What would we do without you? Thank you very much for the video 😊🙏😊🙏

  • @whatif7810
    @whatif7810 Год назад

    Make a vedio on ionic muliple image crud

  • @علياءاسامه-ت4م
    @علياءاسامه-ت4م 3 года назад +1

    Great tutorial

  • @mikha2880
    @mikha2880 2 года назад

    hey , thankyou sir. it's great series to learn more about guard !
    i have one question , when i was log in, i can still access the login page. how to protect the login page using guard when the user was login?

    • @galaxies_dev
      @galaxies_dev  2 года назад

      In that case you could add another Guard with basically the opposite idea: Prevent access to the login page if the user is authenticated! If the user is authenticated, automatically send him to the inside area using the router!

  • @Noah-gw3wu
    @Noah-gw3wu 2 года назад

    not working

  • @viewfavorites
    @viewfavorites 3 года назад +1

    Great content man please continue making videos

  • @GoldenMashegot
    @GoldenMashegot 3 года назад

    Anyone who knows why when using camera the app refreshes?

  • @pawanbhatt9329
    @pawanbhatt9329 2 года назад

    Thanks a lot for the video! , this will help me a lot

  • @thedarck131
    @thedarck131 3 года назад

    Nice vídeo Simón :)
    Can a junior Angular/ionic developer get a Job un usa easy?

    • @galaxies_dev
      @galaxies_dev  3 года назад

      I'm not from the USA but I think so - how else would you start a job without experience?

  • @ivanlp4ever
    @ivanlp4ever 2 года назад

    Hi Simon, great tutorial. What are your thoughts on Angular Fire Auth Guard? Do you have anything that explores that method?

  • @vampirejs758
    @vampirejs758 3 года назад

    Is this video having a shadow ban ... I didn't get this video in my recommendations and the subscription

    • @galaxies_dev
      @galaxies_dev  3 года назад

      I don't know, uploaded as usually :/

  • @robrechtvanmelckebeke6303
    @robrechtvanmelckebeke6303 2 года назад

    Thanks a lot, your videos have been such a huge help while developing my app

  • @vivekchaugule1615
    @vivekchaugule1615 3 года назад

    Hello Simon,
    Please make video on swipable ionic segment screens. Can not find a tutorial or Article on the same. Currently I implemented with slides and segment buttons. But need to see if any shortcut or clean method is available. I use Ionic Angular
    Thank you for providing awesome Ionic tutorials.

    • @jamespeterson7824
      @jamespeterson7824 3 года назад +1

      npm i @ionic-super-tabs/angular .Hope it helps you

    • @vivekchaugule1615
      @vivekchaugule1615 3 года назад

      @@jamespeterson7824 thank you 👍 buddy , will try this

  • @romeoleagzprofijt4157
    @romeoleagzprofijt4157 2 года назад

    Thx!

  • @simbaclaws_youtube
    @simbaclaws_youtube 3 года назад

    What happens if someone finds a way to set values inside localstorage of the app? For example to set the authentication state to true to bypass the login. Or what if someone decompiles the apk and finds the javascript assets of the app, deobfuscates them and now has the ability to change or read the source code to access the hidden pages? Not sure how realistic the second scenario would be... but still.
    I'm hoping that most hidden pages at least have some kind of oauth and openid connect setup in place with encrypted storage of some sort for user auth tokens instead of a simple true/false?
    Like for example a backend service such as keycloak for authentication and authorization.
    Is this quick win actually ready for production use cases?

    • @jamespeterson7824
      @jamespeterson7824 3 года назад

      From decompiling your apk, You should protect your app from rooted device.Only rooted devices has the capability to view the source code..Hope it helps

    • @simbaclaws_youtube
      @simbaclaws_youtube 3 года назад

      @@jamespeterson7824 I'll try to dive into the topic, thank you

    • @galaxies_dev
      @galaxies_dev  3 года назад +1

      Real security always happens on the server. There is no 100% safe way to protect your app, I would always treat it like a website and expect with enough criminal energy people will be able to get to the source code.
      But if they can't get any data from the server, a template with HTML tags is not really helpful for them anyway!