Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for profile column in the table okta_factor Closes #129 #130

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Jul 11, 2024

Example query results

Results
> select id, user_name, created, factor_type, jsonb_pretty(profile) as profile from okta_factor
+----------------------+-------------------+---------------------------+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| id                   | user_name         | created                   | factor_type         | profile                                                                                                                                                                       >
+----------------------+-------------------+---------------------------+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| ost1m64qvuJk6dICv5d7 | hetlsk@guossr.com | 2021-08-30T18:23:16+05:30 | token:software:totp | {                                                                                                                                                                             >
|                      |                   |                           |                     |     "credentialId": "hetlsk@guossr.com"                                                                                                                                       >
|                      |                   |                           |                     | }                                                                                                                                                                             >
| mbl1m6472anhxTgOE5d7 | hetlsk@guossr.com | 2021-08-30T18:24:44+05:30 | sms                 | {                                                                                                                                                                             >
|                      |                   |                           |                     |     "phoneNumber": "+911234567890"                                                                                                                                            >
|                      |                   |                           |                     | }                                                                                                                                                                             >
| opfg6o5fqcXWpMfKY5d7 | hetlsk@guossr.com | 2024-04-02T23:07:34+05:30 | push                | {                                                                                                                                                                             >
|                      |                   |                           |                     |     "keys": [                                                                                                                                                                 >
|                      |                   |                           |                     |         {                                                                                                                                                                     >
|                      |                   |                           |                     |             "e": "AQAB",                                                                                                                                                      >
|                      |                   |                           |                     |             "n": "zkkbVZd1ppo5mKSTXu20TRc5GNhQkExcgQZC5jBFsYxnolksd7RHFnsilePoYGwTObBG-hgRQzj012t0V_TKJb9-2IkDEjCFHQnQrLMw6vpR9IGbcXukOWASu5Dn9wlF84spprvWUjU8patUefAeZG7D907E>
|                      |                   |                           |                     |             "kid": "default",                                                                                                                                                 >
|                      |                   |                           |                     |             "kty": "RSA",                                                                                                                                                     >
|                      |                   |                           |                     |             "use": "sig",                                                                                                                                                     >
|                      |                   |                           |                     |             "jwkType": "proofOfPossession"                                                                                                                                    >
|                      |                   |                           |                     |         }                                                                                                                                                                     >
|                      |                   |                           |                     |     ],                                                                                                                                                                        >
|                      |                   |                           |                     |     "name": "Redmi Note 7 Pro",                                                                                                                                               >
|                      |                   |                           |                     |     "version": "29",                                                                                                                                                          >
|                      |                   |                           |                     |     "platform": "ANDROID",                                                                                                                                                    >
|                      |                   |                           |                     |     "deviceType": "SmartPhone_Android",                                                                                                                                       >
|                      |                   |                           |                     |     "credentialId": "hetlsk@guossr.com"                                                                                                                                       >
|                      |                   |                           |                     | }                                                                                                                                                                             >
+----------------------+-------------------+---------------------------+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->

@ParthaI ParthaI requested a review from misraved July 11, 2024 11:09
@ParthaI ParthaI self-assigned this Jul 11, 2024
@misraved misraved merged commit 7895b61 into main Jul 12, 2024
1 check passed
@misraved misraved deleted the issue-129 branch July 12, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Okta Factors should show Profile Properties like the Okta Devices schema.
2 participants