https://github.com/markablov/onelogin-custom-fields-update-action
GitHub Action to update Custom Fields for users in OneLogin
https://github.com/markablov/onelogin-custom-fields-update-action
Last synced: over 1 year ago
JSON representation
GitHub Action to update Custom Fields for users in OneLogin
- Host: GitHub
- URL: https://github.com/markablov/onelogin-custom-fields-update-action
- Owner: markablov
- License: mit
- Created: 2022-08-11T05:15:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-11T07:27:19.000Z (almost 4 years ago)
- Last Synced: 2023-11-03T11:27:25.088Z (over 2 years ago)
- Language: JavaScript
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action to update Custom Fields for users in OneLogin
This action uses specified file to update Custom Fields for users in OneLogin
## Inputs
### `apiClientId`
**Required** ClientID for OneLogin API
### `apiSecret`
**Required** Secret for OneLogin API
### `apiRegion`
**Required** Region for OneLogin API, could be `eu` or `us`
### `valuesFilePath`
**Required** Path to the file that contains values of custom fields for users
### `valuesFileFormat`
**Optional** Format of the file that contains values of custom fields for users.
Only `json5` is supported.
## Example values file
```
[
{
// identifier for user
username: 'john',
// custom fields, that would by synced
height: 180,
size: 'XL'
},
{
// identifier for user
username: 'jane',
// custom fields, that would by synced
height: 150,
size: 'XXS'
}
]
```
## Example usage
```
uses: actions/onelogin-custom-fields-update-action@v1.0
with:
apiClientId: '123abc'
apiSecret: 'abc123'
apiRegion: 'eu'
valuesFilePath: '../users.json5'
```