Skip to content

Commit

Permalink
feat(jans-config-api): Scope object changes for creator details (#2033)
Browse files Browse the repository at this point in the history
* bug(jans-config-api): fixed swagger format issue

* fix(jans-config-api): fixed due to couchbase clustter change

* feat(jans-config-api): new endpoint to get UmaResource based on associatedClient

* fix(jans-config-api): swagger spec fix for client attributes

* fix(jans-config-api): reverted the local test properties

* test(jans-config-api): commented test case

* feat(jans-config-api): scim config endpoint enhancment

* feat(jans-config-api): swagger and DTO change for new fields for scim config endpoint

* feat(jans-config-api): swagger and DTO change for new fields for scim config endpoint

* fix(jans-config-api): rectified endpoint url in swagger spec for uma resource

* feat(jans-config-api): agama endpoint fixes

* fix(jans-config-api): agama endpoint enhancements

* fix(jans-config-api): fixed swagger spec for Uma Resource delete

* fix(jans-config-api): agama endpoint enhancements

* fix(jans-config-api): agama endpoint enhancements

* fix(jans-config-api): agama endpoint enhancements

* fix(jans-config-api): agama endpoint enhancements

* fix(jans-config-api): agama endpoint enhancements

* feat(jans-config-api): agama patch endpoint

* feat(jans-config-api): agama patch endpoint

* feat(jans-config-api): agama patch endpoint

* feat(jans-config-api): Scope object changes for creator details

* feat(jans-config-api): Scope object changes for creator details
  • Loading branch information
pujavs authored Aug 5, 2022
1 parent 41dfab7 commit a8b8d76
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
28 changes: 25 additions & 3 deletions jans-config-api/docs/jans-config-api-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5071,7 +5071,7 @@ components:
description: Enable/Disable usage of highest level script in case ACR script does not exist.
agamaConfiguration:
type: object
desciption: Engine Config which offers an alternative way to build authentication flows in Janssen server
description: Engine Config which offers an alternative way to build authentication flows in Janssen server
$ref: '#/components/schemas/EngineConfig'

GluuAttribute:
Expand Down Expand Up @@ -5273,14 +5273,32 @@ components:
type: object
description: ScopeAttributes
properties:
spontaneousClientId:
type: string
spontaneousClientScopes:
type: array
items:
type: string
showInConfigurationEndpoint:
type: boolean
creatorId:
description: Id of the scope creator. If creator is client then client_id if user then user_id
type: string
creatorType:
description: Scope creator type
type: string
enum:
- NONE
- CLIENT
- USER
- AUTO
creationDate:
description: Scope creation date time.
type: string
format: date
creatorAttributes:
description: Stores creator attributes
type: object
additionalProperties:
type: string
umaType:
description: Specifies if the scope is of type UMA.
type: boolean
Expand All @@ -5293,6 +5311,9 @@ components:
description: Expiry date of the Scope.
type: string
format: date

ExtendedScope:
allOf: # Combines the Scope and the inline model
- $ref: '#/components/schemas/Scope'
Expand All @@ -5304,6 +5325,7 @@ components:
type: array
items:
$ref: '#/components/schemas/Client'
CustomAttribute:
title: CustomAttribute
description: Attribute.
Expand Down
4 changes: 2 additions & 2 deletions jans-config-api/profiles/local/test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ test.scopes=https://jans.io/oauth/config/acrs.readonly https://jans.io/oauth/con
# jans.server
token.endpoint=https://jans.server1/jans-auth/restv1/token
token.grant.type=client_credentials
test.client.id=1800.c3d63983-6883-438d-b974-38348645de42
test.client.secret=QzZFg9RnQjSP
test.client.id=1800.e9131b86-f39f-421c-9dde-b7f90c21a2fe
test.client.secret=zur7eMIXyDTu
test.issuer=https://jans.server1

0 comments on commit a8b8d76

Please sign in to comment.