forked from maxmantz/redux-oidc
-
Notifications
You must be signed in to change notification settings - Fork 0
4. Silent renew
maxmantz edited this page May 27, 2016
·
2 revisions
This package supports the silent renew of tokens by the UserManager
. In order for this to work, your build configuration needs to write a second HTML file (besides index.html) and in it have a script doing this:
import { processSilentRenew } from 'redux-oidc';
processSilentRenew();
Please note that for this to work, the URI this HTML page is hosted at needs to be registered with the identity provider. In addition, please make sure that the automaticSilentRenew
option of the UserManager
config is set to true
!