Open safwanidrees opened 2 years ago
Hi,
I was able to obtain a valid access token with this method, i.e. using grant_type password and providing username and password.
Hope it helps,
Simone
Thanks, I got a token from that But that token gives an error the invalid token in loginWithToken Function.
I've just tried again today and I can confirm that it works for me, are you sure the token was still valid? It should expire after a hour. If it's not because of the token expiration, honestly I don't know what can be the problem.
@sstasi95 Do i see this correctly, that loginWithToken
is meant for the merchant, but not for an employee of the SumUp account?
I.e. an employee can only be correctly handled if he is sent to Sumup.login()
and enters there his client username and password?
@rivella50 Yes I think you're right. From SumUp documentation it's not clear, but I couldn't find a way to loginWithToken with an employee.
Hi have the same issue. I contacted the support but they redirected me here. Is there any solution?
I want to use loginWithToken in the app. How it will work? How do I get that token from sum up dashboard?
I want to use loginWithToken in the app. How loginWithToken will work? How do I generate that token? I also follow that link https://developer.sumup.com/docs/authorization/#1-your-application-requests-authorization but nothing works. If anyone helps me with it. I am very thankful to you. Thank you.