access-token

WSO2 Identity Server JWT Access token

喜夏-厌秋 提交于 2020-01-04 11:06:58
问题 I'm trying to receive a JWT access_token from WSO2 Identity Server when logging in with password grant_type. But I can't find any way to configure this. When I sign in I get a guid as access_token. I found this, but this is the way to get the access_token guid when you have a JWT: https://docs.wso2.com/display/ISCONNECTORS/Configuring+JWT+Grant+Type Also I enable JWT Token generation using this tutorial, but I'm still receiving the guid: https://docs.wso2.com/display/IS510/JWT+Token

WSO2 Identity Server JWT Access token

こ雲淡風輕ζ 提交于 2020-01-04 11:03:04
问题 I'm trying to receive a JWT access_token from WSO2 Identity Server when logging in with password grant_type. But I can't find any way to configure this. When I sign in I get a guid as access_token. I found this, but this is the way to get the access_token guid when you have a JWT: https://docs.wso2.com/display/ISCONNECTORS/Configuring+JWT+Grant+Type Also I enable JWT Token generation using this tutorial, but I'm still receiving the guid: https://docs.wso2.com/display/IS510/JWT+Token

How to download a file uploaded to a private Facebook group using Graph API

ε祈祈猫儿з 提交于 2020-01-04 04:22:06
问题 Facebook now allows us to upload arbitrary types of files to Facebook groups, which is great. I am writing a single-sign-on iOS app, which accesses such a private group the user belongs to, and download those files. I was able to acquire the URL to those files using Graph API, which look like this: http://www.facebook.com/download/444555666777888/foo.bar (If I type this URL to a browser, the browser downloads it as long as I have logged in to Facebook as me from that browser, but will fail

How to refresh access_token in OAuth 2.0 in salesforce

≡放荡痞女 提交于 2020-01-03 13:00:11
问题 I am developing a salesforce app and using OAuth 2.0 to login. I have a refresh token; how do I get a new access_token by sending a request to salesforce via OAuth 2.0 containing the refresh token for a particular user? 回答1: Taken from "Digging Deeper into Oauth 2.0 on Force.com", your application can obtain a new access token by POSTing another request to: https://login.salesforce.com/services/oauth2/token. The payload should be of the form: grant_type=refresh_token&client_id=[your client id

Soundcloud (Oauth2) API getting access token fails

心已入冬 提交于 2020-01-03 12:31:13
问题 I'm trying to authorize users on my site based on a Soundcloud login. It uses Oauth authentication. The user has to click a button on my site and is redirected to the Soundcloud site, where it logs in. After that the user get redirected back to my site where I have to get an accessToken. This fails with message: The requested URL responded with HTTP code 0. I've dumped the curl stuff if you need it: [data]; False [info][url] : https://api.soundcloud.com/oauth2/token [content_type] ; NULL

Facebook Application Auth Token Get Error

陌路散爱 提交于 2020-01-03 02:57:09
问题 I am trying to request the authtoken for my app via the Facebook API Graph Exlorer following the facebooks instructions. When I do a get call with a URL with the following form: https://graph.facebook.com/oauth/access_token?client_id=YOUR_APP_ID&client_secret=YOUR_APP_SECRET&grant_type=client_credentials I get the following error: { "error": { "message": "Invalid callback", "type": "OAuthException", "code": 1 } } Suggestions on how I might go about obtaining the access token for my app would

OAuth access and refresh token control / management on user password change

╄→гoц情女王★ 提交于 2020-01-01 19:42:28
问题 We are in the process of developing a in house mobile application and web api. We are using asp.net web api 2 with asp.net Identy 2 OAuth. I have got the api up and running and giving me a bearer token. However I want to slightly modify the process flow to something like along the lines of this: App user logs in to api with username and password. App receives Refresh-token which is valid for 30 days. App then requests an access token providing the api with the refresh token. ( Here I want to

OAuth access and refresh token control / management on user password change

删除回忆录丶 提交于 2020-01-01 19:41:13
问题 We are in the process of developing a in house mobile application and web api. We are using asp.net web api 2 with asp.net Identy 2 OAuth. I have got the api up and running and giving me a bearer token. However I want to slightly modify the process flow to something like along the lines of this: App user logs in to api with username and password. App receives Refresh-token which is valid for 30 days. App then requests an access token providing the api with the refresh token. ( Here I want to

After disabling offline_access and removing the app from app settings I no longer get an extended access token

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-01 06:40:42
问题 ** Looks like this was a bug that Facebook has since fixed. I disabled offline_access so that I could get extended access tokens without asking for the offline_access permission. While testing, it seemed to work fine at first. I got a token that expired in 60 days. Then I removed the app from facebook's app settings so I could test. As soon as I removed it, I started getting tokens that expire in 2 hours. Is this a bug? Or maybe this is a security thing like as soon as the app is removed, a

How would offline_access work after deprecation after May 1st?

你。 提交于 2019-12-30 11:19:27
问题 I did some test, the result I found contradicts Facebook's documentation. https://developers.facebook.com/roadmap/offline-access-removal/ If we enable the "Deprecate offline access:" and ask for offline_access, at mobile client, we automatically get a token valid for 60 days, without upgrading the SDK. It seems Facebook made it easier for clients, no upgrade is needed. This is what is said on Facebook. "Apps migrating to this feature will no longer be asked for offline_access. They will be