cmdntd
(cmdntd)
2 Octubre, 2021 12:08
1
Hi,
I use wordpress multisite and installed discourse plugin to use discourse sso like provider for wp. But it does not like wp single site. When I go to wp-admin to login, it just show wordpress login page, and not redirect to discourse login automatically.
Do you have any experience with sso for wordpress multisite?
IAmGav
(Gavin Perch)
2 Octubre, 2021 12:31
2
what happens when you go to < yoursite >/wp-login.php
cmdntd
(cmdntd)
2 Octubre, 2021 13:18
3
IAmGav:
/wp-login.php
It’s the same.
That is wp login page, it can not redirect to discourse login.
IAmGav
(Gavin Perch)
2 Octubre, 2021 13:19
4
Is the plug-in “network activated” ?
cmdntd
(cmdntd)
2 Octubre, 2021 13:35
5
I do not understand your question, but this is my settings in network:
Pigeon
4 Octubre, 2021 10:56
6
I want to do the same thing.
I cannot confirm this is what you need to do, but I think you need to check these boxes after logging into your Discourse instance as admin and going to Settings->Login.
The first box looks like it would allow someone to sign on to your Discourse by authenticating through another site. This is not what you want.
The second two boxes are I think what we want.
Maybe someone who knows can verify or correct this advice.
angus
(Angus McLeod)
4 Octubre, 2021 12:27
7
Hey guys, using Wordpress as a DiscourseConnect Client of a Discourse Provider is not supported. Please see
Specifically Multisite Support
The WP Discourse plugin works with WordPress multisite setups for everything except using WordPress as an DiscourseConnect Client for your Discourse site.
cmdntd
(cmdntd)
4 Noviembre, 2021 03:56
8
When I tested again for this option, it has “too many redirect” error
https://phuonghuynh.org/wp-admin/index.php?redirect_to=https%3A%2F%2Fphuonghuynh.org%2Fwp-admin%2Findex.php%3Fredirect_to%3Dhttps%253A%252F%252Fphuonghuynh.org%252Fwp-admin%252Findex.php%253Fredirect_to%253Dhttps%25253A%25252F%25252Fphuonghuynh.org%25252Fwp-admin%25252Findex.php%25253Fredirect_to%25253Dhttps%2525253A%2525252F%2525252Fphuonghuynh.org%2525252Fwp-admin%2525252Findex.php%2525253Fredirect_to%2525253Dhttps%252525253A%252525252F%252525252Fphuonghuynh.org%252525252Fwp-admin%252525252Findex.php%252525253Fredirect_to%252525253Dhttps%25252525253A%25252525252F%25252525252Fphuonghuynh.org%25252525252Fwp-admin%25252525252Findex.php%25252525253Fredirect_to%25252525253Dhttps%2525252525253A%2525252525252F%2525252525252Fphuonghuynh.org%2525252525252Fwp-admin%2525252525252Findex.php%2525252525253Fredirect_to%2525252525253Dhttps%252525252525253A%252525252525252F%252525252525252Fphuonghuynh.org%252525252525252Fwp-admin%252525252525252Findex.php%252525252525253Fredirect_to%252525252525253Dhttps%25252525252525253A%25252525252525252F%25252525252525252Fphuonghuynh.org%25252525252525252Fwp-admin%25252525252525252Findex.php%25252525252525253Fredirect_to%25252525252525253Dhttps%2525252525252525253A%2525252525252525252F%2525252525252525252Fphuonghuynh.org%2525252525252525252Fwp-admin%2525252525252525252Findex.php%2525252525252525253Fredirect_to%2525252525252525253Dhttps%252525252525252525253A%252525252525252525252F%252525252525252525252Fphuonghuynh.org%252525252525252525252Fwp-admin%252525252525252525252Findex.php%252525252525252525253Fredirect_to%252525252525252525253Dhttps%25252525252525252525253A%25252525252525252525252F%25252525252525252525252Fphuonghuynh.org%25252525252525252525252Fwp-admin%25252525252525252525252Findex.php%25252525252525252525253Fredirect_to%25252525252525252525253Dhttps%2525252525252525252525253A%2525252525252525252525252F%2525252525252525252525252Fphuonghuynh.org%2525252525252525252525252Fwp-admin%2525252525252525252525252Findex.php%2525252525252525252525253Fredirect_to%2525252525252525252525253Dhttps%252525252525252525252525253A%252525252525252525252525252F%252525252525252525252525252Fphuonghuynh.org%252525252525252525252525252Fwp-admin%252525252525252525252525252Findex.php%252525252525252525252525253Fredirect_to%252525252525252525252525253Dhttps%25252525252525252525252525253A%25252525252525252525252525252F%25252525252525252525252525252Fphuonghuynh.org%25252525252525252525252525252Fwp-admin%25252525252525252525252525252Findex.php%25252525252525252525252525253Fredirect_to%25252525252525252525252525253Dhttps%2525252525252525252525252525253A%2525252525252525252525252525252F%2525252525252525252525252525252Fphuonghuynh.org%2525252525252525252525252525252Fwp-admin%2525252525252525252525252525252Findex.php%2525252525252525252525252525253Fredirect_to%2525252525252525252525252525253Dhttps%252525252525252525252525252525253A%252525252525252525252525252525252F%252525252525252525252525252525252Fphuonghuynh.org%252525252525252525252525252525252Fwp-admin%252525252525252525252525252525252Findex.php%252525252525252525252525252525253Fredirect_to%252525252525252525252525252525253Dhttps%25252525252525252525252525252525253A%25252525252525252525252525252525252F%25252525252525252525252525252525252Fphuonghuynh.org%25252525252525252525252525252525252Fwp-admin%25252525252525252525252525252525252Findex.php%25252525252525252525252525252525253Fredirect_to%25252525252525252525252525252525253Dhttps%2525252525252525252525252525252525253A%2525252525252525252525252525252525252F%2525252525252525252525252525252525252Fphuonghuynh.org%2525252525252525252525252525252525252Fwp-admin%2525252525252525252525252525252525252Findex.php%2525252525252525252525252525252525253Fredirect_to%2525252525252525252525252525252525253Dhttps%252525252525252525252525252525252525253A%252525252525252525252525252525252525252F%252525252525252525252525252525252525252Fphuonghuynh.org%252525252525252525252525252525252525252Fwp-admin%252525252525252525252525252525252525252Findex.php%252525252525252525252525252525252525253Fredirect_to%252525252525252525252525252525252525253Dhttps%25252525252525252525252525252525252525253A%25252525252525252525252525252525252525252F%25252525252525252525252525252525252525252Fphuonghuynh.org%25252525252525252525252525252525252525252Fwp-admin%25252525252525252525252525252525252525252Findex.php%25252525252525252525252525252525252525253Fredirect_to%25252525252525252525252525252525252525253Dhttps%2525252525252525252525252525252525252525253A%2525252525252525252525252525252525252525252F%2525252525252525252525252525252525252525252Fphuonghuynh.org%2525252525252525252525252525252525252525252Fwp-admin%2525252525252525252525252525252525252525252Findex.php%2525252525252525252525252525252525252525253Fredirect_to%2525252525252525252525252525252525252525253Dhttps%252525252525252525252525252525252525252525253A%252525252525252525252525252525252525252525252F%252525252525252525252525252525252525252525252Fphuonghuynh.org%252525252525252525252525252525252525252525252Fwp-admin%252525252525252525252525252525252525252525252Findex.php%252525252525252525252525252525252525252525253Fredirect_to%252525252525252525252525252525252525252525253Dhttps%25252525252525252525252525252525252525252525253A%25252525252525252525252525252525252525252525252F%25252525252525252525252525252525252525252525252Fphuonghuynh.org%25252525252525252525252525252525252525252525252Fwp-admin%25252525252525252525252525252525252525252525252Findex.php%25252525252525252525252525252525252525252525253Fredirect_to%25252525252525252525252525252525252525252525253Dhttps%2525252525252525252525252525252525252525252525253A%2525252525252525252525252525252525252525252525252F%2525252525252525252525252525252525252525252525252Fphuonghuynh.org%2525252525252525252525252525252525252525252525252Fwp-admin%2525252525252525252525252525252525252525252525252Findex.php%2525252525252525252525252525252525252525252525253Fredirect_to%2525252525252525252525252525252525252525252525253Dhttps%252525252525252525252525252525252525252525252525253A%252525252525252525252525252525252525252525252525252F%252525252525252525252525252525252525252525252525252Fphuonghuynh.org%252525252525252525252525252525252525252525252525252Fwp-admin%252525252525252525252525252525252525252525252525252Findex.php%252525252525252525252525252525252525252525252525253Fredirect_to%252525252525252525252525252525252525252525252525253Dhttps%25252525252525252525252525252525252525252525252525253A%25252525252525252525252525252525252525252525252525252F%25252525252525252525252525252525252525252525252525252Fphuonghuynh.org%25252525252525252525252525252525252525252525252525252Fwp-admin%25252525252525252525252525252525252525252525252525252Findex.php%25252525252525252525252525252525252525252525252525253Fredirect_to%25252525252525252525252525252525252525252525252525253Dhttps%2525252525252525252525252525252525252525252525252525253A%2525252525252525252525252525252525252525252525252525252F%2525252525252525252525252525252525252525252525252525252Fphuonghuynh.org%2525252525252525252525252525252525252525252525252525252Fwp-admin%2525252525252525252525252525252525252525252525252525252Findex.php%2525252525252525252525252525252525252525252525252525253Fredirect_to%2525252525252525252525252525252525252525252525252525253Dhttps%252525252525252525252525252525252525252525252525252525253A%252525252525252525252525252525252525252525252525252525252F%252525252525252525252525252525252525252525252525252525252Fphuonghuynh.org%252525252525252525252525252525252525252525252525252525252Fwp-admin%252525252525252525252525252525252525252525252525252525252Findex.php%252525252525252525252525252525252525252525252525252525253Fredirect_to%252525252525252525252525252525252525252525252525252525253Dhttps%25252525252525252525252525252525252525252525252525252525253A%25252525252525252525252525252525252525252525252525252525252F%25252525252525252525252525252525252525252525252525252525252Fphuonghuynh.org%25252525252525252525252525252525252525252525252525252525252Fwp-admin%25252525252525252525252525252525252525252525252525252525252F
Could you check for this?
cmdntd
(cmdntd)
4 Noviembre, 2021 11:20
10
Thank you.
So, could I disable this option to setup this for each site in my network?
Why do you not support for this?
angus
(Angus McLeod)
4 Noviembre, 2021 11:56
11
If your wordpress is a multisite then the DiscourseConnect Client tab will not be available at all.
Because Multisite setups change how routes are handled, opening up various potential issues with the route handling required for using Discourse as the identity provider. We may revisit this at some point, but it’s not currently a priority.
If you’re considering integrating Discourse users with multiple Wordpress sites I suggest you consider a dedicated identity solution such as auth0.com , which works with both Wordpress and Discourse out of the box.
cmdntd
(cmdntd)
4 Noviembre, 2021 12:03
12
It’s a pity. At the former version, I just set this option for every site ok. It seems lost in current.
Multisite has many users in network, I think it makes forum have more users in the way that this plugin could be developed.
angus
(Angus McLeod)
4 Noviembre, 2021 12:11
13
@simon may correct me, but I don’t believe the WP Discourse plugin has ever supported using Discourse as the identity provider to a Wordpress Multisite.
cmdntd
(cmdntd)
6 Noviembre, 2021 16:52
14
Hola de nuevo, como solicité en
My response here also covers this enquiry
¿Podrías volver al último repositorio de este problema para el plugin, por favor?
Lo necesito mucho para configurarlo manualmente en cada sitio con la pestaña “Discourseconnect client”. Lo probé y está bien configurarlo manualmente en cada sitio de la red.
angus
(Angus McLeod)
8 Noviembre, 2021 07:00
15
Como se ha mencionado varias veces, el plugin WP Discourse no admite, y nunca ha admitido, el uso de Discourse como proveedor de DiscourseConnect en instancias multisitio.
Además, la forma en que DiscourseConnect (anteriormente SSO) funciona en WP Discourse no ha cambiado en mucho tiempo. No hay nada que revertir.
Lo siento, pero si tiene problemas en su sitio que ha creado al intentar esta configuración (cómo, no lo sé, ya que la pestaña no está disponible en instancias multisitio), deberá resolverlo usted mismo o contratar a alguien para que lo haga.
No admitimos, y nunca hemos admitido, el uso de algún tipo de solución alternativa para usar el plugin de esta manera.
cmdntd
(cmdntd)
8 Noviembre, 2021 07:56
16
Bueno, volveré a revisar mi sitio.
Gracias por ser paciente al responderme.
1 me gusta