Khoros Atlas Logo

%3CLINGO-SUB%20id%3D%22lingo-sub-442138%22%20slang%3D%22en-US%22%3EIs%20refresh_token%20for%20lifetime%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-442138%22%20slang%3D%22en-US%22%3E%3CP%3Eam%20changing%20and%20updating%20my%26nbsp%3Baccess_token%20based%20on%20validAuth%2C%20but%20never%20updated%20refresh_token.%20Am%20i%20right%2C%20resfresh%20token%20for%20life%20time%20except%20if%20we%20want%20to%20to%20refresh%20forcefully.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-442146%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20refresh_token%20for%20lifetime%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-442146%22%20slang%3D%22en-US%22%3E%3CP%3E%3Ca%20href%3D%22https%3A%2F%2Fcommunity.khoros.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F70317%22%3E%40nrajesh%3C%2Fa%3E%26nbsp%3B-%20Yes%2C%20you%20do%20not%20need%20to%20store%20the%20refresh%20token%2C%20if%20you%20already%20have%20it.%20It%20will%20not%20be%20expired%20until%20it%20is%20blacklisted%20or%20refreshed%20using%20rest%20API%20call.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20an%20article%20for%20refresh%20token%20which%20will%20give%20you%20more%20info%20regarding%20the%20refresh%20token.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-442145%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20refresh_token%20for%20lifetime%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-442145%22%20slang%3D%22en-US%22%3E%3CP%3Ewhenever%20we%20refresh%20the%20accessToken%2C%20the%20response%20having%20accessToken%20and%20refreshToken%20also.%20but%20i%20have%20stored%20accessToken%20only%20in%20my%20DB%20for%20further%20actions%2C%20not%20refresToken.%20Confirm%20we%20dont%20need%20to%20store%26nbsp%3BrefresToken%20%3F%20whatever%20we%20got%20at%20initial%20stage%20that%20is%20for%20lifetime%20correct.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-442144%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20refresh_token%20for%20lifetime%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-442144%22%20slang%3D%22en-US%22%3E%3CP%3E%3Ca%20href%3D%22https%3A%2F%2Fcommunity.khoros.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F70317%22%3E%40nrajesh%3C%2Fa%3E%26nbsp%3B-%20Yes%2C%20you%20are%20right%20..refresh%20token%20is%20used%20to%20update%20the%20access%20token.%20We%20need%20hit%20a%20separate%20call%20to%20update%20the%20refresh%20token.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor
Occasional Contributor

Is refresh_token for lifetime?

Jump to solution

am changing and updating my access_token based on validAuth, but never updated refresh_token. Am i right, resfresh token for life time except if we want to to refresh forcefully.

0 Kudos
3 Replies 3
Honored Contributor
Honored Contributor

Re: Is refresh_token for lifetime?

Jump to solution

@nrajesh - Yes, you are right ..refresh token is used to update the access token. We need hit a separate call to update the refresh token. 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq
0 Kudos
Reply
Loading...
Highlighted
Occasional Contributor
Occasional Contributor

Re: Is refresh_token for lifetime?

Jump to solution

whenever we refresh the accessToken, the response having accessToken and refreshToken also. but i have stored accessToken only in my DB for further actions, not refresToken. Confirm we dont need to store refresToken ? whatever we got at initial stage that is for lifetime correct.

Tags (1)
0 Kudos
Reply
Loading...
Highlighted
Honored Contributor
Honored Contributor

Re: Is refresh_token for lifetime?

Jump to solution

@nrajesh - Yes, you do not need to store the refresh token, if you already have it. It will not be expired until it is blacklisted or refreshed using rest API call. 

 

Here is an article for refresh token which will give you more info regarding the refresh token. 

 

 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq
Reply
Loading...