Skip to content

Commit 656ac02

Browse files
authored
Styling fixes to signInOAuth readme section
1 parent b152962 commit 656ac02

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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.
293293
After successful authentication, it redirects back to `oAuthCallbackPath`. Application router needs to intercept
294294
this 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

0 commit comments

Comments
 (0)