ionic pouchdb couchdb app with oauth JWT token need silent refresh - Refreshing Access Tokens when using the...
up vote
0
down vote
favorite
We designed an ionic angular app for working in offline mode with Pouch-db Couch-db. but registration occur when app online and then our app give a JWT token from server for the future...(when app is online couchdb replicate data to other clients and generate reports for managers)
we need to Silent Refresh - Refreshing Access Tokens when using the Implicit Flow
but my question about how can i implement it for offline app
we want to check our JWT TOKEN every day and if expired logg off user then want him to give an new JWT token
need a good best practice for implement it.
ionic3 jwt token access-token refresh-token
add a comment |
up vote
0
down vote
favorite
We designed an ionic angular app for working in offline mode with Pouch-db Couch-db. but registration occur when app online and then our app give a JWT token from server for the future...(when app is online couchdb replicate data to other clients and generate reports for managers)
we need to Silent Refresh - Refreshing Access Tokens when using the Implicit Flow
but my question about how can i implement it for offline app
we want to check our JWT TOKEN every day and if expired logg off user then want him to give an new JWT token
need a good best practice for implement it.
ionic3 jwt token access-token refresh-token
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
We designed an ionic angular app for working in offline mode with Pouch-db Couch-db. but registration occur when app online and then our app give a JWT token from server for the future...(when app is online couchdb replicate data to other clients and generate reports for managers)
we need to Silent Refresh - Refreshing Access Tokens when using the Implicit Flow
but my question about how can i implement it for offline app
we want to check our JWT TOKEN every day and if expired logg off user then want him to give an new JWT token
need a good best practice for implement it.
ionic3 jwt token access-token refresh-token
We designed an ionic angular app for working in offline mode with Pouch-db Couch-db. but registration occur when app online and then our app give a JWT token from server for the future...(when app is online couchdb replicate data to other clients and generate reports for managers)
we need to Silent Refresh - Refreshing Access Tokens when using the Implicit Flow
but my question about how can i implement it for offline app
we want to check our JWT TOKEN every day and if expired logg off user then want him to give an new JWT token
need a good best practice for implement it.
ionic3 jwt token access-token refresh-token
ionic3 jwt token access-token refresh-token
asked 48 mins ago
saber tabatabaee yazdi
5601733
5601733
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370701%2fionic-pouchdb-couchdb-app-with-oauth-jwt-token-need-silent-refresh-refreshing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown