File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -285,11 +285,11 @@ this._tokenService.updatePassword({
285285` ` `
286286
287287# ## .signInOAuth()
288- Initiates OAuth authentication flow by redirecting to OAuth path . Currently, it supports two window modes(oAuthWindowType) :
289- ' newWindow' (default) and ' sameWindow' .
290- When ` oAuthWindowType` is set to ` newWindow` , `.signInOAuth ()` opens a new window and returns an observable.
288+ Initiates OAuth authentication flow. Currently, it supports two window modes:
289+ ` newWindow` (default) and ` sameWindow` (settable in config as ` oAuthWindowType ` ) .
290+ - When ` oAuthWindowType` is set to ` newWindow` , `.signInOAuth ()` opens a new window and returns an observable.
291291
292- When ` oAuthWindowType` is set to ' sameWindow' , ` .signInOAuth()` returns nothing and redirects user to auth provider.
292+ - When ` oAuthWindowType` is set to ` sameWindow` , ` .signInOAuth()` returns nothing and redirects user to auth provider.
293293After successful authentication, it redirects back to ` oAuthCallbackPath` . Application router needs to intercept
294294this route and call ` processOAuthCallback()` to fetch ` AuthData` from params.
295295
@@ -307,7 +307,7 @@ this._tokenService.signInOAuth(
307307` ` `
308308
309309# ## .processOAuthCallback()
310- Fetches AuthData from params sent via OAuth redirection when ` oAuthWindowType ` is set to ` sameWindow` .
310+ Fetches AuthData from params sent via OAuth redirection in ` sameWindow` flow .
311311
312312` processOAuthCallback()`
313313
You can’t perform that action at this time.
0 commit comments