This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git
The following commit(s) were added to refs/heads/main by this push:
new 0efbc73 Update README.md to Add Okta WIC
0efbc73 is described below
commit 0efbc732ef3062af83eab548b3463328482fd07a
Author: Simon Sigré <[email protected]>
AuthorDate: Fri Jul 26 18:58:49 2024 +1000
Update README.md to Add Okta WIC
Added setup for Okta Workforce Identity Cloud (WIC) as an OAUTH option
---
connector-basic/README.md | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/connector-basic/README.md b/connector-basic/README.md
index 5ab7c83..7b0f701 100644
--- a/connector-basic/README.md
+++ b/connector-basic/README.md
@@ -80,4 +80,22 @@ In the
[https://console.developers.google.com/apis/credentials](https://console.
- User Avatar Json Path: `avatar`
- Scope: `email,identify`
-In the
[https://discord.com/developers/applications](https://discord.com/developers/applications)
page, config the `Redirects` as
`https://example.com/answer/api/v1/connector/redirect/basic`
\ No newline at end of file
+In the
[https://discord.com/developers/applications](https://discord.com/developers/applications)
page, config the `Redirects` as
`https://example.com/answer/api/v1/connector/redirect/basic`
+
+## Okta Workforce Identity Cloud (WIC) OAuth Configuration Example
+
+- Name: `Okta`
+- Client ID: `0oa666666`
+- Client Secret: `UGqYGya5GJ4E`
+- Authorize URL: `https://example.okta.com/oauth2/v1/authorize`
+- Token URL: `https://example.okta.com/oauth2/v1/token`
+- User Json Url: `https://example.okta.com/oauth2/v1/userinfo`
+- User ID Json Path: `sub`
+- User Display Name Json Path: `name`
+- User Username Json Path: `email`
+- User Email Json Path: `email`
+- Email Verified JSON Path: `email_verified`
+- Scope: `openid,email,groups`
+
+In the Okta Application setup; config the `Sign-in redirect URIs` as
`https://example.com/answer/api/v1/connector/redirect/basic` and the `Initiate
login URI` as `https://example.com/answer/api/v1/connector/login/basic`
+In the `Admin \ General` in `Answers` ensure that the `Site URL` matches the
page adddress as above (`https://example.com/answer`) or `Okta` will return a
`4xx` error.