# Revision history [back]

Google login in Askbot uses standard OpenID protocol. If you need to use a different protocol (you've mentioned SAML2 before) - the protocol will firstly need to be implemented on the Askbot side.

Probably examples of SAML2 implementation would be most helpful to you.

In Askbot function signin initates all authentication protocols - depending on the login provide type variable. So it might be necessary to add the code for starting SAML2 in that function, and after that implement the remaining protocol. Since SAML2 is different from OAuth and OpenID - implementations of those in Askbot may not be helpful examples.

Google login in Askbot uses standard OpenID protocol. If you need to use a different protocol (you've mentioned SAML2 before) - the protocol will firstly need to be implemented on the Askbot side.

Probably examples of SAML2 implementation would be most helpful to you.

In Askbot function signin initates all authentication protocols - depending on the login provide type variable. So it might be necessary to add the code for starting SAML2 in that function, and after that implement the remaining protocol. Since SAML2 is different from OAuth and OpenID - implementations of those in Askbot may not be helpful examples.

Once you click your custom button Askbot should run that signin function.