Comments (1)
You are partially correct, your auth endpoint is automatically redirecting and handing out the token. So you would want to add a Logout method on the API, that would call the Invalidate token call to your server. Then you would call ResetData.
Or you could handle this the way google does. When you receive a login request, and you are already logged in, show them an account picker/logout screen. If they choose the account already logged in, redirect to the right URL with the token. Else log them out. I prefer this method as it prevents people from having to keep logging in.
from simpleauth.
Related Issues (20)
- "Missing redirect_uri parameter" error with Xamarin.Forms UWP sample
- Determine if Google Sign-In is cancelled HOT 2
- Google Sign-in unintentionally cancelled and logs "Java.Security.UnrecoverableKeyException: no match"
- UIWebView is deprecated HOT 2
- SimpleAuth.Google.Droid and Sample.Droid do not reference the same GooglePlayServices version
- WebAuthenticatorWindow in iOS 13 is displayed as pageSheet HOT 2
- Google doesn't exist in SimpleAuth.Providers HOT 1
- Back end google token validation
- GetCFBundleURLSchemes only returns first URL scheme of Info.plist (MacOS)
- Google signin for Flutter windows? HOT 2
- Support for hd (domain hint) parameter for Google Sign In / tenant ID for Microsoft sign in HOT 1
- Google Sign In crashes on Android 8.0 (documentation issue)
- Login disabled on facebook
- Api.Get<T> method does not lend itself to supporting error responses HOT 1
- Google_GoogleSignInProvider not implement onConnectionFailed HOT 3
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. HOT 1
- Sample.Mac Doesn't work on 10.11 and 10.12 HOT 4
- Instagram SignIn UI Issue on UWP HOT 3
- Need Proper Documentation HOT 1
- Instagram Authentication on MacOS - NSURLErrorDomain error -999 HOT 7
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 simpleauth.