Re: Expiring Token and Oauth/Oauth2

Anonymous
Not applicable

Expiring Token and Oauth/Oauth2

Hi,

We are integrating with Squiz Matrix and trying to set up Oauth/Oauth2 so we can set up the following: "When the asset is accessed again and this token is still valid, the stored token will be reused. If the token has expired, a new access token will be retrieved by either re-authentication or by using an available refresh token. "

I've got no problems getting the key, secret and requesting for the token but what I'm having problems finding in the documentation are the following ('Should' be possible):

I imagine the

Request Token Request URL /identity/oauth/token?

Authorisation Request URL Unable to locate E.g. For facebook might be https://graph.facebook.com/oauth/authorize

Access Token Request URL /identity/oauth/token ?

Any help would be appreciated.

Thanks

Tony Sun

4 REPLIES 4
Anonymous
Not applicable

Re: Expiring Token and Oauth/Oauth2

Have you already gone through all of the information here? Authentication » Marketo Developers

Anonymous
Not applicable

Re: Expiring Token and Oauth/Oauth2

Yes i have exhausted all resources before coming on this forum.

Neil_Robertson6
Level 5

Re: Expiring Token and Oauth/Oauth2

Not entirely sure what the question is - are you asking how to get the/your token?  It is pretty simple if so - just access this URL:

https://YOURENDPOINT.mktorest.com/identity/oauth/token?client_secret=YOURCLIENTSECRET&grant_type=cli...

As noted you will need 3 values:  REST Endpoint, Client Secret, Client ID.

You can get your endpoint via Integration > Webhooks in the Admin.  Your Secret and Client ID you will need to get via creation of a new Launch point service (and linking to an API only user)

Hope this make sense.

SanfordWhiteman
Level 10 - Community Moderator

Re: Expiring Token and Oauth/Oauth2

Marketo Bridge - Squiz Matrix User Manual Library describes well the data that Squiz needs. I think you may be mixing up when and where OAuth2 is necessary.  Note that Marketo doesn't support full OAuth2, but this doesn't matter because any Marketo-aware integration knows what it needs to do.