[FOLIO-2543] Add password reset URL to reference environment configuration Created: 30/Mar/20  Updated: 06/May/21  Resolved: 01/Apr/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P3
Reporter: Wayne Schneider Assignee: Ian Hardy
Resolution: Done Votes: 0
Labels: devops
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to UITEN-64 provide UI to save USERSBL/FOLIO_HOST... Open
relates to FOLIO-2818 URL for password reset needs to be fi... Closed
Sprint: DevOps: sprint 85
Development Team: FOLIO DevOps

 Description   

On the reference environments, the password reset URL stem is set to http://localhost:3000/reset-password (the default). It should be set to the stripes URL for the environment.



 Comments   
Comment by Ian Hardy [ 01/Apr/20 ]

added usersbl template to defaults in folio-ansible/roles/post-config-entries. Passed stripes_url variable in foliio-infrastructure/CI/ansible/folio-xxxxxxx.yml.

Verified result on folio-testing:

$ http https://folio-testing-okapi.aws.indexdata.com/configurations/entries?query=module==USERSBL "x-okapi-tenant:diku" "x-okapi-token:$token"
HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: application/json
Date: Wed, 01 Apr 2020 01:56:49 GMT
Transfer-Encoding: chunked
X-Okapi-Trace: GET mod-authtoken-2.5.0-SNAPSHOT.64 http://10.36.1.73:9133/configurations/entries.. : 202 40737us
X-Okapi-Trace: GET mod-configuration-5.4.0-SNAPSHOT.69 http://10.36.1.73:9134/configurations/entries.. : 200 16883us
content-encoding: gzip

{
    "configs": [
        {
            "code": "FOLIO_HOST",
            "configName": "FOLIO host",
            "default": true,
            "description": "FOLIO host address for password reset",
            "enabled": true,
            "id": "67283699-33c6-4602-8b95-29b354897928",
            "metadata": {
                "createdByUserId": "3e13b2e5-f7bf-51a7-877d-e7b876d29617",
                "createdDate": "2020-04-01T01:45:52.690+0000",
                "updatedByUserId": "3e13b2e5-f7bf-51a7-877d-e7b876d29617",
                "updatedDate": "2020-04-01T01:45:52.690+0000"
            },
            "module": "USERSBL",
            "value": "https://folio-testing.aws.indexdata.com"
        }
    ],
    "resultInfo": {
        "diagnostics": [],
        "facets": [],
        "totalRecords": 1
    },
    "totalRecords": 1
}
Generated at Thu Feb 08 23:21:25 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.