GET /admin/realms/{realm}/applications-by-id/{app-name}/allowed-originsReturns set of allowed origin. This is used for CORS requests. Access tokens will have
their allowedOrigins claim set to this value for tokens created for this application.
- HTTP Example:
GET /admin/realms/{realm}/applications-by-id/{app-name}/allowed-origins | - API Example:
ApplicationResource.getAllowedOrigins({'realm': , 'app-name': }); |
- Output:
- Set<String> -
- Produces:
- application/json
|
PUT /admin/realms/{realm}/applications-by-id/{app-name}/allowed-originsChange the set of allowed origins. This is used for CORS requests. Access tokens will have
their allowedOrigins claim set to this value for tokens created for this application.
- HTTP Example:
PUT /admin/realms/{realm}/applications-by-id/{app-name}/allowed-origins | - API Example:
ApplicationResource.updateAllowedOrigins({'realm': , 'app-name': , '$entity': }); |
- Input:
- Set<String>
- Output:
- void
- Consumes:
- application/json
|
DELETE /admin/realms/{realm}/applications-by-id/{app-name}/allowed-originsRemove set of allowed origins from current allowed origins list. This is used for CORS requests. Access tokens will have
their allowedOrigins claim set to this value for tokens created for this application.
- HTTP Example:
DELETE /admin/realms/{realm}/applications-by-id/{app-name}/allowed-origins | - API Example:
ApplicationResource.deleteAllowedOrigins({'realm': , 'app-name': , '$entity': }); |
- Input:
- Set<String>
- Output:
- void
- Consumes:
- application/json
|