oauth-2.0

Facebook: Refreshing long-lived access token automatically

女生的网名这么多〃 提交于 2020-12-30 06:30:54
问题 I'm storing long-lived access tokens for users of my application that have associated their Facebook accounts to it. Since the demise of the offline_access tokens, these long-lived tokens have an expiry date of "about 60 days." However, they can refresh themselves when the user interacts with Facebook. According to the documentation: These tokens will be refreshed once per day when the person using your app makes a request to Facebook's servers. If no requests are made, the token will expire

Does OAuth 2.0 always require a browser in the flow

柔情痞子 提交于 2020-12-29 14:21:54
问题 Can I use OAuth 2.0 without a browser (or an embedded browser in my app) to perform nightly uploads? Setup I have a refresh token and access token from provider console-- Google Drive API I wish to use Java SDK to use/reuse these to upload data without the requirement for any browser authorization once i have initially received my refresh/access tokens. 回答1: Yes. That is precisely what unattended access with the refresh token is about. When the user granted permission to the app, he was

Does OAuth 2.0 always require a browser in the flow

↘锁芯ラ 提交于 2020-12-29 14:18:47
问题 Can I use OAuth 2.0 without a browser (or an embedded browser in my app) to perform nightly uploads? Setup I have a refresh token and access token from provider console-- Google Drive API I wish to use Java SDK to use/reuse these to upload data without the requirement for any browser authorization once i have initially received my refresh/access tokens. 回答1: Yes. That is precisely what unattended access with the refresh token is about. When the user granted permission to the app, he was

Does OAuth 2.0 always require a browser in the flow

假如想象 提交于 2020-12-29 14:18:29
问题 Can I use OAuth 2.0 without a browser (or an embedded browser in my app) to perform nightly uploads? Setup I have a refresh token and access token from provider console-- Google Drive API I wish to use Java SDK to use/reuse these to upload data without the requirement for any browser authorization once i have initially received my refresh/access tokens. 回答1: Yes. That is precisely what unattended access with the refresh token is about. When the user granted permission to the app, he was

Does OAuth 2.0 always require a browser in the flow

丶灬走出姿态 提交于 2020-12-29 14:16:19
问题 Can I use OAuth 2.0 without a browser (or an embedded browser in my app) to perform nightly uploads? Setup I have a refresh token and access token from provider console-- Google Drive API I wish to use Java SDK to use/reuse these to upload data without the requirement for any browser authorization once i have initially received my refresh/access tokens. 回答1: Yes. That is precisely what unattended access with the refresh token is about. When the user granted permission to the app, he was

Does OAuth 2.0 always require a browser in the flow

依然范特西╮ 提交于 2020-12-29 14:15:18
问题 Can I use OAuth 2.0 without a browser (or an embedded browser in my app) to perform nightly uploads? Setup I have a refresh token and access token from provider console-- Google Drive API I wish to use Java SDK to use/reuse these to upload data without the requirement for any browser authorization once i have initially received my refresh/access tokens. 回答1: Yes. That is precisely what unattended access with the refresh token is about. When the user granted permission to the app, he was

POSTMAN: “You do not have permission to view this directory or page” with Bearer Token

好久不见. 提交于 2020-12-29 06:29:35
问题 I've got a website hosted on HostGator, let's say it's domain is https://example.com . I also have an application hosted on Azure, with Active Directory Authentication enabled on the entire site (including the API component), let's say it's domain is https://example.azurewebsites.net THE GOAL - To have a PHP file be executed (as a CRON job) on https://example.com and have the file first Authenticate itself with Azure's Active Directory, and then to pull data from https://example.azurewebsites

Handling oauth2 redirect from electron (or other desktop platforms)

柔情痞子 提交于 2020-12-27 08:33:57
问题 This is mostly a lack of understanding of oauth2 and probably not specific to electron, however I'm trying to wrap my head around how someone would handle an oauth2 redirect url from a desktop platform, like electron? Assuming there is no webservice setup as part of the app, how would a desktop application prompt a user for credentials against a third party oauth2 service, and then authenticate them correctly? 回答1: Electron JS runs a browser instance on your localhost. Therefore, you can

Handling oauth2 redirect from electron (or other desktop platforms)

允我心安 提交于 2020-12-27 08:33:18
问题 This is mostly a lack of understanding of oauth2 and probably not specific to electron, however I'm trying to wrap my head around how someone would handle an oauth2 redirect url from a desktop platform, like electron? Assuming there is no webservice setup as part of the app, how would a desktop application prompt a user for credentials against a third party oauth2 service, and then authenticate them correctly? 回答1: Electron JS runs a browser instance on your localhost. Therefore, you can

Handling oauth2 redirect from electron (or other desktop platforms)

孤者浪人 提交于 2020-12-27 08:30:50
问题 This is mostly a lack of understanding of oauth2 and probably not specific to electron, however I'm trying to wrap my head around how someone would handle an oauth2 redirect url from a desktop platform, like electron? Assuming there is no webservice setup as part of the app, how would a desktop application prompt a user for credentials against a third party oauth2 service, and then authenticate them correctly? 回答1: Electron JS runs a browser instance on your localhost. Therefore, you can