Skip to content

Commit

Permalink
configurable auth endpoint for rest-source-authorizer
Browse files Browse the repository at this point in the history
radar-rest-sources-authorizer 1.1.3
  • Loading branch information
Bdegraaf1234 committed Feb 9, 2024
1 parent 565040c commit e4fd578
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/radar-rest-sources-authorizer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "4.4.0"
description: A Helm chart for the front-end application of RADAR-base Rest Sources Authorizer which is a portal to authorize the Fitbit connector to read data from Fitbit accounts.
name: radar-rest-sources-authorizer
version: 1.1.2
version: 1.1.3
icon: "http://radar-base.org/wp-content/uploads/2022/09/Logo_RADAR-Base-RGB.png"
sources:
- https://github.com/RADAR-base/radar-helm-charts/tree/main/charts/radar-rest-sources-authorizer
Expand Down
3 changes: 2 additions & 1 deletion charts/radar-rest-sources-authorizer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# radar-rest-sources-authorizer
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/radar-rest-sources-authorizer)](https://artifacthub.io/packages/helm/radar-base/radar-rest-sources-authorizer)

![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.4.0](https://img.shields.io/badge/AppVersion-4.4.0-informational?style=flat-square)
![Version: 1.1.3](https://img.shields.io/badge/Version-1.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.4.0](https://img.shields.io/badge/AppVersion-4.4.0-informational?style=flat-square)

A Helm chart for the front-end application of RADAR-base Rest Sources Authorizer which is a portal to authorize the Fitbit connector to read data from Fitbit accounts.

Expand Down Expand Up @@ -71,3 +71,4 @@ A Helm chart for the front-end application of RADAR-base Rest Sources Authorizer
| networkpolicy | object | check `values.yaml` | Network policy defines who can access this application and who this applications has access to |
| clientId | string | `"radar_rest_sources_authorizer"` | OAuth2 client id of the application registered in Management Portal. It is assumed that this is a public client with empty client secret. |
| serverName | string | `"localhost"` | Domain name of the server |
| authUrl | string | `"localhost/managementportal/oauth"` | Authorization URL of the IDP |
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
- name: AUTH_CALLBACK_URL
value: https://{{ .Values.serverName }}/rest-sources/authorizer/login
- name: AUTH_URI
value: https://{{ .Values.serverName }}/managementportal/oauth
value: https://{{ .Values.authUrl }}
{{- with .Values.extraEnvVars }}
{{- toYaml . | nindent 10 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/radar-rest-sources-authorizer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,5 @@ networkpolicy:
clientId: radar_rest_sources_authorizer
# -- Domain name of the server
serverName: localhost
# -- Authorization URL of the IDP
authUrl: localhost/managementportal/oauth

0 comments on commit e4fd578

Please sign in to comment.