How to Authenticate and Login to ERPNext or Frappe With an API

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

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

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

    Great Job Geoffrey. You saved me a few hours. All I had to do is copy paste the code in my Custom App and the API was working !
    Thanks for this !

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

    Thank you Geoffrey so much. It worked for me.

  • @bcm3vallelil
    @bcm3vallelil 2 года назад +1

    generate_keys() function not working correctly in frappe 14.
    API secret key returns None or an invalid key.

  • @Prototype.abdullah
    @Prototype.abdullah 3 месяца назад

    you can make video on authentication app in frappe

  • @ManIsh-zn7oy
    @ManIsh-zn7oy 4 месяца назад

    how to create in chartbot at erp frappe please description

  • @darkcoder-board
    @darkcoder-board 2 года назад

    Hi Geoffrey Karani , First of all thank you for informative video, I have concern here I have used your code and tested for administrator and other user, the code is working fine Administrator credentials and can able to see response with api-key and other details but if you tried for Non-admin user the api returning only fail response like "Authentication Error!", I think for non-admin user It is failing to generate api-key and secrete key

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

    How to increase the session expiry time?

  • @koutarousenpai3373
    @koutarousenpai3373 6 месяцев назад

    Good day . can you do a video that show on how to install ERPnext to windows ?

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

    Hi Karani. Awesome tutorials. I have a doubt. How to create a signup api with password without getting email link. Will you please make a video on that. Thanks

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

    I did not understand one thing. After sending GET request from Postman, If we refresh from the logged out page we should be able to see logged in page of erpnext right ? But why is that not happening ?

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

      If I get you right, you mean you log out from postman and that logs out the instance on your browser?

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

      @@KaraniGeoffrey like what I meant was suppose you log out from erpnext and then send GET request through postman then if you refresh your erpnext page it should automatically login without asking for login credentials at the front end but it doesn't happen like that. This is my doubt.

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

      @@vikramk6869 you got it all wrong! The API and the web app are completely independent. Logging in or out of one has absolutely no effect on the other. I suggest that you look more into their differences and when to use either

  • @SAYN12
    @SAYN12 2 года назад +1

    Hi, Geoffrey Karani I need custom Login api for user uniquid based login
    no username,password

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

    thanks, very informative

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

    how I response a token? not api_secret

  • @iqbalthalayad
    @iqbalthalayad Год назад +1

    How to register a new user with api?

    • @tek_stack
      @tek_stack 7 месяцев назад

      Hi!
      Did you manage to solve this?

  • @FreezyDaniel-e7e
    @FreezyDaniel-e7e 7 месяцев назад

    Wonderful
    Thank you

  • @bcm3vallelil
    @bcm3vallelil 2 года назад +1

    Not working in ERPnext 14

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

    Thank you

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

    Thx, bro!

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

    I tried the code and I am getting the following error in postman:
    "exception" : "frappe.exceptions.AuthenticationError: Password not found"
    But the password is correct. Do you have any suggestions.