Chloe Tempo
Chloe Tempo

Reputation: 305

What are current recommended settings for a Microsoft app used with Janrain Single Sign On?

enter image description hereI am trying to configure a new Microsoft Account for use with Janrain (RPX) Single Sign On. I have Google, Twitter and Yahoo working. I mention that because it indicates that most of my configuration is valid.

The Janrain docs for the Microsoft provider do not match the current Microsoft screens at all.

I was wondering whether anyone who got the Microsoft provider working some time ago, when the docs must have matched, would be able/willing to log in to their Microsoft dev apps account, and provide a brief guide to the old/new way of referring to the details that are critical to integration with Janrain.

As one example, on the Microsoft apps page, Microsoft has a heading "App ID / Client Id". I assume that mean that the item listed just below must be filled in for the ClientID requested by Janrain. Probably.

Is Implicit Flow required? recommended? for use with Janrain ?

For the Client Secret required by Janrain when configuring the Microsoft Provider, do you go under Application Secrets on the Microsoft app page, click [Generate New Password], and use that password which is given once right then?

The error message that I am getting is "Token exchange error for Microsoft Account."

Is a sign OUT page required for use with Microsoft? What did you use for the Sign OUT Url? A static html page, containing what? I expected this to be a URL that Janrain would tell us to use, not a static page on our site as the little Microsoft help tip indicates.

Screenshots of the application as configured on my Microsoft panel follow.

Detail for the Application, part 1

Detail for the Application, part 2

Upvotes: 0

Views: 91

Answers (1)

PBICS
PBICS

Reputation: 374

Looks like Microsoft has changed the UI once again. I'll open a ticket to have our documentation updated.

The current URL for setting up the Microsoft Login is: https://apps.dev.microsoft.com/?mkt=en-us&referrer=https%3a%2f%2faccount.live.com#/appList

Here are the steps to create a new login application:

  1. Login to the url above
  2. Under "Live SDK applications" click the "Add an app" button
  3. Give your app an obvious name.
  4. Check the "Allow Implicit Flow" checkbox
  5. Check the "Restrict token issuing to this app" checkbox
  6. Uncheck the "Enhanced redirection security" checkbox
  7. Target domain should be something like: "YOUR_ENGAGE_APP_NAME.rpxnow.com"
  8. Redirect URL should be something like: "https://YOUR_ENGAGE_APP_NAME.rpxnow.com"

I think the Logo, Terms of Service URL and Privacy Statement URL might be optional but if you want to be "professional" then go ahead and fill them in with valid URL's for you web site.

Once you save you changes, the site should give you an Application Id and Application Secret that you can use in the Engage application provider configuration for Microsoft Login.

Upvotes: 0

Related Questions