on 07-30-2015 4:19 PM
Dear Supportteam,
I've got a question regarding you OAuth-API in SapJam.
We registered a OAuth-Client for our SapJam instance.
Now we want to connect to the API using Scribe + Apache Olingo.
We created the AccessToken for an internal user and can access the API without any problems.
Now we want to create an accesstoken the same way we did for the internal user just for an Extranet user.
First we generated the request token and then redirected the user to sapjam to grant access to the Client.
The User is prompted for her username and password and then the errormessage in German "Der Anwendung <anwendungsname> (<redirecturl>) kann der Zugriff auf Ihr Konto nicht gewährt werden" which means something like the Application isn't allowed to access your account.
We are using the Url https://jam12.sapjam.com/oauth/authorize?oauth_token=<requesttoken> to get the verification code from the user.
Is it possible to access the account of a extranet user via OAuth/Odata Api?
Kind Regards
Marc
Hi Marc
It appears, I made a mistake in my original post. We only currently support OAuth for Extranet users when using our mobile applications. I've added this to our short term roadmap, but for at least the next 3 months we are not likely to have an update as this is time frame for the next major update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marc sorry for the slow reply.
OAuth is supported with Extranet users. I just discussed this with a few people and it should work.
It feels like your code is ok since you were able to get an access token for an internal user.
When the internal user logs in, are they getting to their proper SAP Jam external user branded page?
We are looking at the error message to see if that might give us a hint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
when I try to authenticate the User with the authorization URL + requesttoken and the User is not logged in, I getredirected to successfactors for login. That's not correct since Extranetusers don't have a SuccessFactors account. So the login fails.
When using the Extranet link (https://jam12.sapjam.com/extranet/<our_instance_here>)
to login the User directly to Sapjam and then calling the Authotizationurl (https://jam12.sapjam.com/oauth/authorize?oauth_token=<requesttoken_here>) the Errormessage from my first post came up.
So our problem is that we're unable to receive the verification code for Extranetusers since she can't see the accept button. I also logged the request/response but it didn't came up with any useful information. Just a Http 200 with the html embedded Errormessage.
Please note that for secrutiy reasons I won't post any instance name or oauth-tokens in a public forum.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.