Conversation
supportI’ve been using this fantastic plugin for a number of years in both internet and intranet mode. Previously I’ve just had staff signing in with their organisational (Microsoft) accounts. Now I have a couple of network sites (in a multisite installation) that also have native WordPress users, so I have added a standard Login/Logout button as well. I’ve just noticed today that using the wpo365-sso-button shortcode to add a Sign in with Microsoft button works, and the native sign-in works; however, the Sign in with Microsoft button on the native sign-in form doesn’t work (It just goes directly back to the home page with something like ?cb=01234567-89ab-cdef-0123-456789abcdef appended, without redirecting to Microsoft for authentication). I tried selecting ‘Hide Sign in with Microsoft button on login page’, but this seems to stop the shortcode button from displaying as well. What am I missing? Many thanks! This topic was modified 1 year, 4 months ago by Jeremy Varnham . The page I need help with: [ log in to see the link]
I got it working.
Hi @jvarn13 Firstly, let me say sorry for my late response! The contact form on the website wpo365.com usually is better monitored. In this case, I believe the issue might have been, that WordPress shortcodes by design are not meant to work on the default login page. So in that case, you might be forced to add a custom button instead. See https://docs.wpo365.com/article/74-add-sign-in-with-microsoft-button-to-a-wordpress-login-form for more details on adding a custom button. Hope this helps! -Marco
I got it working.
Hi @jvarn13 Firstly, let me say sorry for my late response! The contact form on the website wpo365.com usually is better monitored. In this case, I believe the issue might have been, that WordPress shortcodes by design are not meant to work on the default login page. So in that case, you might be forced to add a custom button instead. See https://docs.wpo365.com/article/74-add-sign-in-with-microsoft-button-to-a-wordpress-login-form for more details on adding a custom button. Hope this helps! -Marco