Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
Fix OKTA-362091. (okta#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-rodriguez authored Jan 28, 2021
1 parent f7af85d commit 187f33e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/aspnet4x-mvc.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Startup
OktaDomain = "https://{yourOktaDomain}",
ClientId = "{clientId}",
ClientSecret = "{clientSecret}",
AuthorizationServerId = "default",
AuthorizationServerId = "default", // Use string.Empty if you are using the Org Authorization Server
RedirectUri = "http://localhost:8080/authorization-code/callback",
PostLogoutRedirectUri = "http://localhost:8080/Home"
});
Expand Down Expand Up @@ -93,7 +93,7 @@ public class Startup
OktaDomain = "https://{yourOktaDomain}",
ClientId = "{clientId}",
ClientSecret = "{clientSecret}",
AuthorizationServerId = "default",
AuthorizationServerId = "default", // Use string.Empty if you are using the Org Authorization Server
RedirectUri = "http://localhost:8080/authorization-code/callback",
PostLogoutRedirectUri = "http://localhost:8080/Home",
LoginMode = LoginMode.SelfHosted
Expand Down Expand Up @@ -210,7 +210,7 @@ The `OktaMvcOptions` class configures the Okta middleware. You can see all the a
| ClientId | **Yes** | The client ID of your Okta Application |
| ClientSecret | **Yes** | The client secret of your Okta Application |
| RedirectUri | **Yes** | The location Okta should redirect to process a login. This is typically `http://{yourApp}/authorization-code/callback`. No matter the value, the redirect is handled automatically by this package, so you don't need to write any custom code to handle this route. |
| AuthorizationServerId | No | The Okta Authorization Server to use. The default value is `default`. |
| AuthorizationServerId | No | The Okta Authorization Server to use. The default value is `default`. Use `string.Empty` if you are using the Org Authorization Server |
| PostLogoutRedirectUri | No | The location Okta should redirect to after logout. If blank, Okta will redirect to the Okta login page. |
| Scope | No | The OAuth 2.0/OpenID Connect scopes to request when logging in. The default value is `openid profile`. |
| LoginMode | No | LoginMode controls the login redirect behavior of the middleware. The default value is `OktaHosted`. |
Expand Down
2 changes: 1 addition & 1 deletion docs/aspnetcore-mvc.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ The `OktaMvcOptions` class configures the Okta middleware. You can see all the a
| ClientId | **Yes** | The client ID of your Okta Application |
| ClientSecret | **Yes** | The client secret of your Okta Application |
| CallbackPath | **Yes** | The location Okta should redirect to process a login. This is typically `http://{yourApp}/authorization-code/callback`. No matter the value, the redirect is handled automatically by this package, so you don't need to write any custom code to handle this route. |
| AuthorizationServerId | No | The Okta Authorization Server to use. The default value is `default`. |
| AuthorizationServerId | No | The Okta Authorization Server to use. The default value is `default`. Use `string.Empty` if you are using the Org Authorization Server. |
| PostLogoutRedirectUri | No | The location Okta should redirect to after logout. If blank, Okta will redirect to the Okta login page. |
| Scope | No | The OAuth 2.0/OpenID Connect scopes to request when logging in. The default value is `openid profile`. |
| GetClaimsFromUserInfoEndpoint | No | Whether to retrieve additional claims from the UserInfo endpoint after login. The default value is `true`. |
Expand Down

0 comments on commit 187f33e

Please sign in to comment.