Comments (10)
@sidan5 Check version 1.7.3 -- Are you still facing the problem.
from apple-signin-auth.
@sidan5 I think @zicyApp's answer solved this issue. Please reopen the issue if you're still facing this problem.
@zicyApp Thanks for your contributions!
from apple-signin-auth.
@zicyApp Can you look into this?
from apple-signin-auth.
@sidan5 I think it should be await
appleSignin.revokeAuthorizationToken(refreshToken, options);
from apple-signin-auth.
@sidan5 I think it should be
await
appleSignin.revokeAuthorizationToken(refreshToken, options);
It's not recognized as asynchronous function...
from apple-signin-auth.
@sidan5 also the revoke should only return an empty 200 on success
from apple-signin-auth.
@a-tokyo Still get no error and an empty response for any dummy token. Expect to get some error response.
from apple-signin-auth.
@sidan5 @a-tokyo I've done some extra tests with the revoke call.
We can only get { error: 'invalid_client' }
when the client_id or the client_secret is invalid. With a dummy/expired token you can only get an empty response.
I also had a typo in the last parameter token_type_hint
, but it's optional so the call should work without that anyway.
from apple-signin-auth.
@zicyApp so how do you know when success? 🤔
from apple-signin-auth.
@sidan5 I test it normally with the complete login flow
- Login with apple in your app
- Save access/refresh token
- Login to https://appleid.apple.com/ to make sure you the authorized app is on the list
- Call revoke with the valid credentials
- On https://appleid.apple.com/ the previously authorized app should not be there anymore
from apple-signin-auth.
Related Issues (20)
- verifyIdToken invalid id token public key id ignoreExpiration HOT 5
- Support Cloudflare Worker HOT 2
- Is this OAuth2 client? HOT 1
- Support revoking Access Tokens HOT 1
- FetchError: invalid json response body at https://appleid.apple.com/auth/revoke HOT 1
- o.URL is not a constructor HOT 5
- How to get the user details HOT 1
- jsonwebtoken dependency version has security vulnerabilities HOT 7
- Request HOT 1
- Redirect URI HOT 1
- Sign in with apple for Electron HOT 1
- getAuthorizationToken => { error: invalid_client } HOT 5
- Release notes formatting HOT 1
- Error getAuthorizationToken => invalid_client HOT 1
- Proxy issue HOT 6
- Structure changes HOT 5
- Next.js error: Global CSS cannot be imported from within node_modules. HOT 2
- Support for validating Sign in with Apple server-to-server notifications HOT 1
- accessToken is not valid. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple-signin-auth.