Is there a login url we can redirect to from the azure https://myapplications.microsoft.com/ icon for a frappe instance for a seamless sign on?
Currently I’m targeting
https://frappe-site.com/#login
but that just sends me to
![image](https://discuss.frappe.io/uploads/default/original/3X/a/5/a574739f35cba25c7a7a89864d926bdc3710f8ff.png)
Here I’d need to click Login with Office 365 and sign in again.
Thanks
-H
Place this in Website Script
or Website Theme
→ Custom JS
// Detect login page
if ($('#page-login').length) {
// Hide page
$('body').hide();
// Login using custom social login button
const loginBtn = $('.btn-office_365').length
? $('.btn-office_365')[0]
: undefined;
loginBtn && loginBtn.click();
}
replace “office_365” with the button class that you wish to auto click.