oauth - Which SSO tool fits this scenario best? -


clientsitea.com, clientsiteb.com, ....

(client domains unknown us)

ourserver.com (contains user credentials)

we need users able login on ourserver.com (using javascript) on client site. login form must reside on client sites. envisioning ajax call sent ourserver.com containing username (from client site). if username logged in, let them stuff, if not show them login form. login form send username/password server , log them in.

is possible? i've been reading saml, i'm seeing having login form on client sites problem. i've been reading oauth. i'm pretty lost. can give me guidance.

i don't think easier have same ui repeated on multiple sites, makes maintenance more difficult.

on other hand, if there explicit link users login or automatically redirected when accessing restricted sites there no need awkward requirement. awkward - because makes tricky use existing sso protocols.

answering question - oauth2 lets exchange username/passwords access tokens. called resource owner password credential flow.

trying convince not idea - not oauth2 providers support flow, remember google doesn't. instead, support flows redirect client login page can perform client application not aware of like:

  • multifactor authentication
  • additional confirmation pages explicit resource access approval

these additional steps of authentication not possible in simple username/password flow.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -