apache / incubator-answer-plugins

The Apache Answer plugins repository.
https://answer.apache.org/plugins
Apache License 2.0
65 stars 34 forks source link

Support for Multiple OAuth Providers in Connector Basic #72

Open surapuramakhil opened 5 months ago

surapuramakhil commented 5 months ago

As of today while using Connector Basic admins has to choose only one of the OAuth provider (either Github or google or discord etc) but only ONE. There is no provision for adding multiple OAuth providers.

This will give user a choice of logging in with the account they like.

fenbox commented 4 months ago

I think Connector Basic should keep the functionality simple. There are already connectors developed for Google, GitHub. other connectors should also refer to them.

surapuramakhil commented 4 months ago

Ah does use specific oauth plugin will help me having multiple OAuth at a same time? like having google, Facebook, discord, LinkedIn OAuth at the same time.

I have tried google Connector but fallen back to basic connector due to issues I am facing. https://github.com/apache/incubator-answer-plugins/issues/65. I have moved to basic as per the provided suggestion.

LinkinStars commented 4 months ago

Ah does use specific oauth plugin will help me having multiple OAuth at a same time? like having google, Facebook, discord, LinkedIn OAuth at the same time.

I have tried google Connector but fallen back to basic connector due to issues I am facing. #65. I have moved to basic as per the provided suggestion.

The principle of google connector is the same as that of basic connector, so it will work as long as the configuration is the same. I just tested it with google connector and it works fine. Please make sure the callback URL is not misconfigured. The callback url is different.