Custom apps for cloud users [extend ERPNext with microservices]

I tried it on trial account on erpnext.com and it is working for the subdomain configured there.
I was about to remove that validation, but it is working on erpnext cloud. So I kept it.

  1. What I found was, If I add the hostname to /etc/hosts it doesn’t timeout on validation.
  2. It works on appropriately configured domain/hostname I guess.
  3. frappe.db.set_value your way forward if you just need to test! e.g. https://github.com/frappe/frappe/blob/develop/frappe/tests/ui/test_oauth20.py#L18

The url is required in id_token. Decrypted id_token has the url of issuer. iss, Standard Fields

1 Like