-
Notifications
You must be signed in to change notification settings - Fork 326
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
Remove role and claim mapping from Organization Application API #5093
base: master
Are you sure you want to change the base?
Conversation
75e8bc8
to
00fc714
Compare
00fc714
to
2496fd1
Compare
8fb7a11
to
2dbc945
Compare
en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml
Outdated
Show resolved
Hide resolved
a9188f6
to
0e79167
Compare
en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml
Outdated
Show resolved
Hide resolved
en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml
Outdated
Show resolved
Hide resolved
en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml
Outdated
Show resolved
Hide resolved
en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml
Show resolved
Hide resolved
en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml
Outdated
Show resolved
Hide resolved
en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml
Outdated
Show resolved
Hide resolved
0e79167
to
7614970
Compare
self: "/o/api/server/v1/applications/85e3f4b8-0d22-4181-b1e3-1651f71b88bd" | ||
links: | ||
- href: "applications?offset=10&limit=10" | ||
rel: "next" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mandatory: false | ||
subject: | ||
claim: | ||
uri: "http://wso2.org/claims/username" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{uri: "http://wso2.org/claims/userid"}
this the default sub we used in IS now
Let's change this
mandatory: false | ||
subject: | ||
claim: | ||
uri: "http://wso2.org/claims/username" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the subject to userid
additionalSpProperties: | ||
- name: "isInternalApp" | ||
value: "true" | ||
displayName: "Internal Application" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove additionalSpProperties
claim: | ||
uri: "http://wso2.org/claims/roles" | ||
advancedConfigurations: | ||
saas: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's remove saas
useExternalConsentPage: false | ||
returnAuthenticatedIdpList: false | ||
enableAuthorization: true | ||
fragment: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove fragment property
attestationMetaData: | ||
enableClientAttestation: false | ||
androidPackageName: "com.wso2.mobile.sample" | ||
androidAttestationServiceCredentials: {} | ||
appleAppId: "APPLETEAMID.com.wso2.mobile.sample" | ||
trustedAppConfiguration: | ||
isFIDOTrustedApp: false | ||
isConsentGranted: false | ||
androidPackageName: "com.wso2.mobile.sample" | ||
androidThumbprints: | ||
- "18:94:0A:DE:63:77:B6:84:43:1E:85:8F:03:CF:8A:14:87:9C:DE:DF:EA:7A:25:53:CD:53:5A:AF:C3:54:A5:56" | ||
appleAppId: "APPLETEAMID.com.org.mobile.sample" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this
"mandatory": false | ||
} | ||
], | ||
"subject": { | ||
"claim": { | ||
"uri": "http://wso2.org/claims/username" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change subject userid
"attestationMetaData": { | ||
"enableClientAttestation": false, | ||
"androidPackageName": "com.wso2.mobile.sample", | ||
"androidAttestationServiceCredentials": {}, | ||
"appleAppId": "APPLETEAMID.com.wso2.mobile.sample" | ||
}, | ||
"trustedAppConfiguration": { | ||
"isFIDOTrustedApp": false, | ||
"isConsentGranted": false, | ||
"androidPackageName": "com.wso2.mobile.sample", | ||
"androidThumbprints": [ | ||
"18:94:0A:DE:63:77:B6:84:43:1E:85:8F:03:CF:8A:14:87:9C:DE:DF:EA:7A:25:53:CD:53:5A:AF:C3:54:A5:56" | ||
], | ||
"appleAppId": "APPLETEAMID.com.org.mobile.sample" | ||
}, | ||
"additionalSpProperties": [ | ||
{ | ||
"localRole": "admin", | ||
"applicationRole": "Administrator" | ||
"name": "isInternalApp", | ||
"value": "true", | ||
"displayName": "Internal Application" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
"useExternalConsentPage": false, | ||
"returnAuthenticatedIdpList": false, | ||
"enableAuthorization": true, | ||
"fragment": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove fragment
"role": { | ||
"mappings": [ | ||
"advancedConfigurations": { | ||
"saas": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove saas
Purpose
&subject
Fixes: wso2/product-is#23221
Fixes the error thrown when using the sample curl given: