supported SSO configuration method

supported SSO configuration method

- added tests, description and squashed everything in one