Cannot clone git from Azure DevOps using PAT

I have had success using PAT like this; Copy clone URL for your repository e.g. git clone https://<domain>.visualstudio.com/<domain>/_git/<repository> After you have copied your PAT use as: git clone https://<PAT>@<domain>.visualstudio.com/<domain>/_git/<repository> No Username nor password should be required as the PAT should suffice.

trying to get app access token

Obtaining an App Access Token To obtain an App Access Token, invoke the following HTTP GET request: GET https://graph.facebook.com/oauth/access_token? client_id=YOUR_APP_ID &client_secret=YOUR_APP_SECRET &grant_type=client_credentials The API will respond with a query-string formatted string of the form: access_token=YOUR_APP_ID|YOUR_APP_ACCESS_TOKEN Reference: http://developers.facebook.com/docs/opengraph/howtos/publishing-with-app-token/

Do twitter access token expire?

Here is what they saying in there development page Question: How long does an access token last? Access tokens are not explicitly expired. An access token will be invalidated if a user explicitly revokes an application in the their Twitter account settings, or if Twitter suspends an application. If an application is suspended, there will … Read more

How do RSA tokens work?

Citing on Wiki The RSA SecurID authentication mechanism consists of a “token” — either hardware (e.g. a USB dongle) or software (a soft token) — which is assigned to a computer user and which generates an authentication code at fixed intervals (usually 60 seconds) using a built-in clock and the card’s factory-encoded random key (known … Read more

Clarification on id_token vs access_token

I like this Medium post about the difference, all cred to this author. https://medium.com/@nilasini/id-token-vs-access-token-17e7dd622084 If you are using Azure AD B2C like I am you can read more here: https://learn.microsoft.com/en-us/azure/active-directory-b2c/openid-connect ID Token You will get id token if you are using scope as openid. Id token is specific to openid scope. With openid scope you … Read more

facebook Uncaught OAuthException: An active access token must be used to query information about the current user

Just check for the current Facebook user id $user and if it returned null then you need to reauthorize the user (or use the custom $_SESSION user id value – not recommended) require ‘facebook/src/facebook.php’; // Create our Application instance (replace this with your appId and secret). $facebook = new Facebook(array( ‘appId’ => ‘APP_ID’, ‘secret’ => … Read more