Releases: RADAR-base/RADAR-Rest-Source-Auth
radar-rest-source-auth 3.2.0
Changes since version 3.1.1:
- More complete Github actions Docker build
- Fixed user filtering to use server-side filtering
- Fixed user filtering frontend by splitting the home view from the user table
- Updated dependencies
radar-rest-source-auth 3.1.1
Changes since version 3.1.0:
- Introduced Github Actions builds
- Backend CLI supports the
--help
flag - Dependency updates (includes fix for ManagementPortal project retrieval exception).
- Logging improvements
- Fixed selecting a source type in Safari if only one source type is available.
- Add client-side caching
rest-source-auth 3.1.0
Changes since version 3.0.0:
- Dependency updates (removes Jcenter from repositories)
- Some Kotlin notation updates
- Improved backend docker build: user 101 and added curl
Release 3.0.0
Changes from Release 2.0.0
- Adds support for
OAuth1
auth type andGarmin
auth (which usesOAuth1
) and generalise auth implementation to separateOAuth1
andOAuth2
- Adds
createdAt
user property - Fixes user query pagination in the frontend and backend (by default page size is
INT_MAX
) - Enables Kotlin linter
- Show reset version info in user info page
- Encode uri when getting projects to allow project ids to have whitespaces
- Show complete user id in update-rest-source-user component and show a tooltip with the complete user id in the user list component
DEPENDENCIES
For services using previous versions of the Rest Source Authorizer, the RestSourceUserDTO
must be updated:
externalId
is nowserviceUserId
authorized
is nowisAuthorized
Please follow the template on authorizer.yml.template
to add Garmin source type.
Release 2.0
Changes from Release 1.3.1
- Migrate to the use of
radar-jersey
andradar-jersey-hibernate
from spring and hibernate - Migrate to Kotlin from Java
- Refactor UI based on project structure.
- Move refresh_token as part of token request.
- Better state management.
Please follow the instructions on migrating to authorizer.yml
in README.
Release 1.3.1
Changes from Release 1.3.0
- Adds token received from Authorization to requests
- Secure endpoints of the backend with an Authentication Filter and validate tokens with Management Portal
Completes the authentication with Management Portal process
Release 1.3.0
Changes from Release 1.2.1
- Allows to reset polling per user
- Adds confirm dialog for delete
- Enables authorization with Management-Portal (authoization-code flow)
- Enable runtime configuration of env variables
Release 1.2.1
Changes since version 1.2.0
- Fixes for URL paths for MP when using validation
- Verifies the connection and token privileges on start of the application.
Migration Steps involving validation
If don't need validation
Add the REST_SOURCE_AUTHORIZER_VALIDATOR
env var to your docker-compose service to disable validation-
radar-rest-sources-backend:
image: radarbase/radar-rest-source-auth-backend:1.2.1
...
environment:
...
- REST_SOURCE_AUTHORIZER_VALIDATOR=""
volumes:
- ./etc/rest-source-authorizer/:/app-includes/
...
Note: This will only disable backend validation. The frontend validation(based on Regex) will still exist.
Enable validation using Management Portal
First Create a new oAuth client in Management Portal
To add new OAuth clients, you can add at runtime through the UI on Management Portal, or you can add them to the OAuth clients file referenced by the MANAGEMENTPORTAL_OAUTH_CLIENTS_FILE configuration option.
Then add the following to your rest authoriser service
Add the following env vars to your docker-compose service-
radar-rest-sources-backend:
image: radarbase/radar-rest-source-auth-backend:1.2.1
...
environment:
...
- REST_SOURCE_AUTHORIZER_VALIDATOR=managementportal
- REST_SOURCE_AUTHORIZER_MANAGEMENT_PORTAL_BASE_URL=http://managementportal-app:8080/managementportal/
- REST_SOURCE_AUTHORIZER_MANAGEMENT_PORTAL_OAUTH_CLIENT_ID=radar_rest_sources_auth
- REST_SOURCE_AUTHORIZER_MANAGEMENT_PORTAL_OAUTH_CLIENT_SECRET=secret
volumes:
- ./etc/rest-source-authorizer/:/app-includes/
...
Note: Make sure to configure the client id and client secret as created in the Management portal
Release 1.2.0
Changes from 1.1.0
- Adds additional validation with management-portal
- makes docker-build configurable
Release 1.1.0
Changes from 1.0.0
- Add editing feature to User form
- Adds filtering, sorting capabilities