Skip to content

Commit

Permalink
Fix #972: IdentityProviderApi cannot properly deserialize /ipds respo…
Browse files Browse the repository at this point in the history
…nse (#977)

Fix #972: IdentityProviderApi cannot properly deserialize /ipds responses
  • Loading branch information
arvindkrishnakumar-okta committed Jan 26, 2024
1 parent b8f6c93 commit c841769
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 33 deletions.
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
</parent>

<artifactId>okta-sdk-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
</parent>

<artifactId>okta-sdk-coverage</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
</parent>

<artifactId>okta-sdk-examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-examples</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
</parent>

<artifactId>okta-sdk-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Okta Java SDK</name>
Expand Down Expand Up @@ -68,12 +68,12 @@
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-api</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-impl</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
</dependency>

<!-- Other Okta Projects -->
Expand Down Expand Up @@ -103,14 +103,14 @@
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-integration-tests</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
</dependency>

<!-- Examples -->
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-examples-quickstart</artifactId>
<version>14.1.0-SNAPSHOT</version>
<version>15.0.0-SNAPSHOT</version>
</dependency>

<!-- Logging -->
Expand Down
42 changes: 20 additions & 22 deletions src/swagger/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26122,27 +26122,25 @@ components:
- DELTA_CRL
- OCSP
IdentityProviderPolicy:
allOf:
- $ref: '#/components/schemas/Policy'
- type: object
properties:
accountLink:
$ref: '#/components/schemas/PolicyAccountLink'
conditions:
$ref: '#/components/schemas/PolicyRuleConditions'
mapAMRClaims:
type: boolean
description: Enable mapping AMR from IdP to Okta to downstream apps
default: false
x-okta-lifecycle:
features:
- IDP_AMR_CLAIMS_MAPPING
maxClockSkew:
type: integer
provisioning:
$ref: '#/components/schemas/Provisioning'
subject:
$ref: '#/components/schemas/PolicySubject'
type: object
properties:
accountLink:
$ref: '#/components/schemas/PolicyAccountLink'
conditions:
$ref: '#/components/schemas/PolicyRuleConditions'
mapAMRClaims:
type: boolean
description: Enable mapping AMR from IdP to Okta to downstream apps
default: false
x-okta-lifecycle:
features:
- IDP_AMR_CLAIMS_MAPPING
maxClockSkew:
type: integer
provisioning:
$ref: '#/components/schemas/Provisioning'
subject:
$ref: '#/components/schemas/PolicySubject'
IdentityProviderPolicyProvider:
type: string
enum:
Expand Down Expand Up @@ -28508,7 +28506,7 @@ components:
mapping:
ACCESS_POLICY: '#/components/schemas/AccessPolicy'
OAUTH_AUTHORIZATION_POLICY: '#/components/schemas/AuthorizationServerPolicy'
IDP_DISCOVERY: '#/components/schemas/IdentityProviderPolicy'
IDP_DISCOVERY: '#/components/schemas/AccessPolicy'
MFA_ENROLL: '#/components/schemas/MultifactorEnrollmentPolicy'
OKTA_SIGN_ON: '#/components/schemas/OktaSignOnPolicy'
PASSWORD: '#/components/schemas/PasswordPolicy'
Expand Down

0 comments on commit c841769

Please sign in to comment.