You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/additional-documentation/silent-refresh.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@
49
49
50
50
51
51
<h2id="refreshing-when-using-implicit-flow-implicit-flow-and-code-flow">Refreshing when using Implicit Flow (Implicit Flow and Code Flow)</h2>
52
-
<p><strong>Notes for Code Flow</strong>: You can also use this strategy for refreshing tokens when using code flow. However, please note, the strategy described within <ahref="./refreshing-a-token.html">Token Refresh</a> is far easier in this case.</p>
52
+
<p><strong>Notes for Code Flow</strong>: You can also use this strategy for refreshing tokens when using code flow. However, please note, the strategy described within <ahref="./token-refresh.md">Token Refresh</a> is far easier in this case.</p>
53
53
<p>To refresh your tokens when using implicit flow you can use a silent refresh. This is a well-known solution that compensates the fact that implicit flow does not allow for issuing a refresh token. It uses a hidden iframe to get another token from the auth server. When the user is there still logged in (by using a cookie) it will respond without user interaction and provide new tokens.</p>
54
54
<p>To use this approach, setup a redirect uri for the silent refresh.</p>
55
55
<p>For this, you can set the property silentRefreshRedirectUri in the config object:</p>
<li>Upgrade to angular 8 (<ahref="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/31c6273b388af7e796a9ad663e346f1e33ff331c">31c6273</a>)</li>
39
37
<li><strong>automatic silent refresh:</strong> stopAutomaticRefresh stops all timers. (<ahref="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/8ab853bf38dd162060d7b6cbd18f7b4fd5a84f18">8ab853b</a>)</li>
40
-
<li><strong>code-flow:</strong> allow using implicit flow by setting useSilentRefresh to true (<ahref="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/93902a5808bb9b75a41d4bde44c6ab763bcfa9f6">93902a5</a>)</li>
41
-
<li><strong>sample:</strong>also use new idsvr 4 for implicit flow demo to prevent issues with same site cookies (<ahref="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/58c63541bc7d83d72c30577da2b68ac2d1dc35b7">58c6354</a>)</li>
42
-
<li><strong>session checks:</strong> Session checks work now for code flow too. Pls see Docs for details. (<ahref="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/4bf89014d8cc5d50ed716500e3f3ad265b4ae2db">4bf8901</a>)</li>
38
+
<li><strong>code-flow:</strong> allow using silent refresh by setting useSilentRefresh to true (<ahref="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/93902a5808bb9b75a41d4bde44c6ab763bcfa9f6">93902a5</a>)</li>
39
+
<li><strong>sample:</strong>Also use new Identity Server 4 for implicit flow demo to prevent issues with same site cookies (<ahref="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/58c63541bc7d83d72c30577da2b68ac2d1dc35b7">58c6354</a>)</li>
40
+
<li><strong>session checks:</strong> Session checks work now for code flow too. Please see docs for details. (<ahref="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/4bf89014d8cc5d50ed716500e3f3ad265b4ae2db">4bf8901</a>)</li>
0 commit comments