We have a client application is interacting with application with oauth authentication. We dont want to authenticate the user every time when the refresh token expires .So , we thought that we can keep refresh token expiration time until 1 year. What is the security risk if we have this type of set up with longer refresh tokens
What is the security risk of having longer Refresh token in Authorization server?
582 Views Asked by Ram Sure At
1
There are 1 best solutions below
Related Questions in OAUTH-2.0
- Not getting refresh token with google oauth2
- SoundCloud Authentication Consistently Returns 401 invalid_grant For Some Users
- How can I share Azure Active Directory authentication between server side and client script?
- OAuth2 and API Json request not working with jQuery Call
- Flask-Restful, oauth, and Salesforce
- Bearer token in MVC controller to access Web API
- Revoking OAuth tokens in Mule
- how to signup user using google-plus integradation in web?
- Need to run getAuthToken twice before receiving access token, why?
- chrome.identity.getAuthToken and refresh token?
- dropbox api authentication (Error: [400] 'invalid_client')
- Retrieve Google Sites's Domain Index feed using OAuth 2.0 with Service Account
- hello.js: Is it possible to set the provider's settings dynamically?
- How to share developer account at LinkedIn
- Linkedin Unsupported POST target
Related Questions in OAUTH-REFRESH-TOKEN
- AADSTS9002327 error in Refresh Token Flow in Azure AD
- Understanding JWT Token Workflow with Short-lived Tokens and Refresh Tokens
- MS Graph Access Token Refresh with GuzzleHttp
- What is the security risk of having longer Refresh token in Authorization server?
- Better approach to use refresh token rotation and reuse detection with Amazon Cognito
- Refresh token in Desktop App for OAuth2 Authorization Code Flow
- Linkedin API : No refresh token with accessToken
- How do I invalidate a refresh jwt on logout? - Nodejs and Reactjs
- Spotify api returning invalid refresh token even though the refresh token is new
- OAuth2 Via GitHub Api - Refresh Token missing
- Refresh TOKEN and PKCE extension
- How to implement refresh token in django-oauth-toolkit? I'm able to get access_token but the refresh token isn't coming with it
- Unable to retrieve refresh_token via hybrid oauth2 flow
- Difficulty Generating Refresh Token in Akeneo OAuth2 Integration
- Why do Refresh Token expires after every 7 days ? Does it affects the file upload on production
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Refresh tokens are bearer tokens so whosoever holding it could use it to obtain a new
access tokenfrom theauthorization serveruntil it expires. Therefore, arefresh tokenthat has a very long lifespan could theoretically give infinite power to the token bearer to get a new access token. The newly obtained access token then could be used to access the protected resources anytime. The bearer of the refresh token could be a legitimate user or a malicious user. Like access tokens, it is advisable to use a short lifespan for refresh tokens. The validation time for refresh token could be increased upto a certain extent in highly trusted systems & communications.