Questions tagged [refresh-token]

A Refresh Token is a special kind of token that can be used to obtain a renewed access token —that allows accessing a protected resource— at any time.

999 questions
0
votes
1 answer

How to get Salesforce refresh token if my redirect url is with https protocol

As per Salesforce documentation, The refresh token is only returned if the redirect URI is https://login.salesforce.com/services/oauth2/success or used with a custom protocol that is not HTTPS. Is there any way to get refresh_token on my url with…
Arpan Shah
  • 159
  • 9
0
votes
0 answers

Weibo api - refresh token

Did anyone found a way to refresh a token with the Weibo api ? I implemented an authentication on my website in order to get the user token but, in the JSON the API returns, there is no "refresh_token" field. Missing this information I can't…
0
votes
1 answer

Web API refresh token not refreshing when access token is expired

in my web API I am implementing owin bearer token based authentication, in my client app I want to refresh the access token using the refresh token whenever it gets expired that's why I have set expiry of my access token to only 15 minutes and…
Syed Waqas
  • 862
  • 2
  • 9
  • 29
0
votes
1 answer

Android AccountManager and dmfs/oauth2-essentials using refresh token

I am trying to use dmfs/oauth2-essentials for oauth2 in an application. The problem is the refresh token. I am able to store the token string and refresh token string in AccountManager. Refresh token using userdata bundle. User first logins with…
Evren Yurtesen
  • 2,267
  • 1
  • 22
  • 40
0
votes
1 answer

wso2 not returning refresh_token in the response

Below is the token request. curl -X POST \ https://172.17.0.1:9443/oauth2/token \ -H 'Authorization: Basic dXF0c0hnVUp2dnU5X1BDdVEyTjI5dDRqRjA0YTozb1IzYllmN2gxOVBMYmZiTElnR25xNllkQjBh' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type:…
N.Venkatesh Naik
  • 124
  • 1
  • 1
  • 10
0
votes
2 answers

How to get current user authentication inside UserDetailsService

In my application I am trying to unite ActiveDirectory authentication with OAuth2 refresh tokens. I was able to successfully authenticate via ActiveDirectoryLdapAuthenticationProvider. I have also provided my custom implementation of…
user1921819
  • 3,290
  • 2
  • 22
  • 28
0
votes
0 answers

Facing issue to handle observable with jquery and angular

I have requirement where I need to use jquery dataTables in angular 5 application. I am facing issue to refresh the token. Below is the code that I am using to achive this: sendRequest() { const requestObject = { 'url': '/getUsers', …
Tavish Aggarwal
  • 1,020
  • 3
  • 22
  • 51
0
votes
1 answer

Axios interceptor issue in production

I am experiencing an issue when developing an application and attempting to utilize a refresh token. I am using ADFS for authentication, where I get an id_token that expires every hour and a refresh token that lasts 8 hours. In development, the…
pelham
  • 128
  • 1
  • 10
0
votes
1 answer

How to generate and create a refresh token in ASP.net core 2.0

There aren't any good article explaining how to generate a refresh token in asp.net core 2.0 and how to generate a access token using the refresh token? Any exports knows how this is handled in .net core 2.0? The closer i got was this article but…
Navin
  • 684
  • 1
  • 11
  • 24
0
votes
1 answer

Can I know in which point we need to validate the JWT expiration?

I am quite new to JWT based authentication. And im quite confused about the refresh token mechanism. In my case, I have designed my application as, 1. User will login to the application, and when the login is successful then it will go to the…
Anna
  • 1,499
  • 4
  • 13
  • 18
0
votes
1 answer

why not obtain a new access token by resending the authorization grant/code instead of sending refresh token?

I understand that Access Tokens are short-lived because they are verified without hitting the database, whereas Refresh Tokens are long-lived and are verified against the database. What I don't understand is why there's a difference between getting…
Andy
  • 7,885
  • 5
  • 55
  • 61
0
votes
1 answer

Android Wear OAuth2.0 Not receiving Refresh Token

In my Android Wear app: I make a call to get my Authorization…
Ch1pCh4p
  • 46
  • 1
  • 5
0
votes
2 answers

Microsoft-Graph refresh-token request fails... AADSTS70000

I am using league/oauth client with guzzle in a Slim3 WebApp working with Microsoft Graph... and I am not able to successfully request a new token by given refresh token... this is my di-container for league/oauth-client: $container['oauthprovider']…
0
votes
1 answer

Refresh token in spotify android sdk?

I'm making an Android's app using Spotify SDK. Spotify access token expires after some time. To retrieve refresh token i found web based api authentication solution. Can we get refresh token using spotify android sdk?, Is this feature added in the…
Praveen Mishra
  • 146
  • 1
  • 12
0
votes
1 answer

oauth access token to get new access token

Can an access token be used to obtain a new access token, or must you use a refresh token? Currently my oauth provider isn't providing a refresh token so I am trying to understand the capability, as I don't want to repass user/pw to provider after…
rismoney
  • 531
  • 6
  • 21