oauth 2.0 - Prompt for AD credentials on every OAuth2 authorize request -


we have application own authentication, added oauth2 support. corporate customer can specify data adfs or google domain, , use automatically sign , log in users.

now, problem switching credentials. when log out our application, clicking login button (which redirects configured adfs oauth2 authorize endpoint) validate user , send him our app, valid code current credentials.

the google endpoint has special parameter, approval_prompt, can use force intermediate step, @ user can switch credentials. don't think adfs has that.

what other solutions have? possible configure on adfs server prompt user enter credentials every authorize request?

here's how url parameters work, best understand them:

  • wa operation we're requesting. far, i've seen 2 values: wsignin1.0 , wsignout1.0
  • wfresh has max age of cached credentials, don't entirely understand it. 0 means don't use cached credentials.
  • wtrealm appid configured in adfs. tells adfs server app trying authenticate. us, base url of app.
  • wctx app-specific data returned app adfs server after request. since we're using standard system.identitymodel setup, handles parsing , reacting value, not our code. there's ru parameter encoded inside it. return url. how page came from.
  • wct timestamp of authentication request

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -