Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auth token support #976

Merged
merged 3 commits into from
Oct 14, 2021
Merged

Add auth token support #976

merged 3 commits into from
Oct 14, 2021

Conversation

yen-tt
Copy link
Contributor

@yen-tt yen-tt commented Oct 12, 2021

  • update global_config.json to inlude token attribute
  • update core.hbs to check for new auth token, apiKey, and deprecated token in runtimeconfig and pass to ANSWERS.init
  • update templatedatavalidator to pass if token is inlcuded but not apikey

J=SLAP-1628
TEST=manual

will merge after release of theme 1.25

see that jambo build is successful with token only
set token/tokenHeader/apikey in answersExperience.runtimeConfig when DOM content is loaded before initAnswers in index.html and see that the right credential is merge into the config pass to ANSWERS.init

- update global_config.json to inlude token attribute
- update core.hbs to check for new auth token, apiKey, and deprecated token in runtimeconfig and pass to ANSWERS.init
- update templatedatavalidator to pass if token is inlcuded but not apikey

J=SLAP-1628
TEST=manual

see that jambo build is successful with token only
set token/tokenHeader/apikey in answersExperience.runtimeConfig when DOM content is loaded before initAnswers in index.html and see that the right credential is merge into the config pass to ANSWERS.init
@coveralls
Copy link

coveralls commented Oct 12, 2021

Coverage Status

Coverage remained the same at 8.982% when pulling 97c6911 on dev/auth-token into 8c547fe on develop.

@yen-tt yen-tt merged commit 2d90591 into develop Oct 14, 2021
@yen-tt yen-tt deleted the dev/auth-token branch October 14, 2021 14:12
@nmanu1 nmanu1 mentioned this pull request Nov 16, 2021
nmanu1 added a commit that referenced this pull request Nov 16, 2021
## Version 1.26.0
### Features
- Add support for the auth token, with a new global_config `token` field  (#976)
- Add support for the visitor, which can be set or changed at runtime (#970)
- Add support for generic thumbs up/down feedback buttons to all cards (#973, #1005)
- Handle page and template names with spaces (#988)

### Changes
- Update styling of navigation ‘More’ menu (#989)
- Update hover color of search bar buttons (#1000)
- Internal repo changes (automate WCAG testing (#987))

### Bugfixes
- Fix console error which would appear on google maps (#955)
- Fix extra query when loading in iframe integrations (#986)
- Fix bug that displayed links that didn’t exist (#990)
- Allow microphone access for voice search in iframe (#991)
- Fix issue with custom search icon size (#992)
- Fix bug with new prop comments not being added (#1004)
- Fix distance alignment on location cards (#1006)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants