- Added NPO dev url to auth domain whitelist #254 (Thanks @Blackbaud-VeehaKhanna)
- Added NPO test urls to auth domain whitelist #253 (Thanks @Blackbaud-VeehaKhanna)
- Display vertical nav for
1bbfun
. #252
- Added NPOc url to auth domain whitelist. #251 (Thanks @Blackbaud-VeehaKhanna)
- Remove
encodeURIComponent
aliases for better static code analysis. #247
- Display vertical nav for
cid
. #246
- Added BBTM urls to auth domain whitelist. #245 (Thanks @Blackbaud-VeehaKhanna)
- Added
mpebill
to the list of valid service IDs for notifications. #243
- Added
gmk
to the list of valid service IDs for notifications. #242
- Added Payments dev url to auth domain whitelist. #240 (Thanks @Blackbaud-VeehaKhanna)
- Added
edu
andhighered
to the list of valid service IDs for notifications. #239
- Added GrantsConnect urls to auth domain whitelist. #238 (Thanks @Blackbaud-VeehaKhanna)
- Updated incorrect function call from
getRouteInfo
togetRouteDetails
. #237
- Added call to
getRouteInfo
to get a route's category. #235
- Added ability to preview omnibar in modern theme. #232
- Updated the maximized and minimized vertical omnibar sizes and passed them to vertical omnibar. #230
- Added a check that the left nav iFrame exists before minimizing it. #228
- Updated dev dependencies with known vulnarabilities. #227
- Added callback for when the omnibar's size changes. #224
- Added admin as a push notification svcid. #223 (Thanks @Blackbaud-VeehaKhanna)
- Added TMFA Mirror url to auth domain whitelist. #221 (Thanks @Blackbaud-VeehaKhanna)
- Added
donorcentrics
to the list of valid service IDs for notifications. #218
- Added
lst
to the list of valid service IDs for notifications. #215
- Fixed issue where the omnibar notifications menu was not updated when a notification toast message was clicked. #214
- Fixed issue with 2.55.0 publishing to the CDN. #213
- Add functions to get session time to live and renew session. #212 (Thanks @Blackbaud-AlexisCoulter)
- Removed JustGiving staging url from auth domain whitelist. #210 (Thanks @Blackbaud-VeehaKhanna)
- Added JustGiving production url to auth domain whitelist. #209 (Thanks @Blackbaud-VeehaKhanna)
- Added JustGiving staging url to auth domain whitelist. #208 (Thanks @Blackbaud-VeehaKhanna)
- Added
gsrch
to the list of valid service IDs for notifications. #206
- Added the
help
property toBBOmnibarUpdateArgs
. #204
- Added additional domain to the auth domain whitelist. #202 (Thanks @Blackbaud-AlexisCoulter)
- Fixed the background watcher iframe to no longer take up vertical space. #199
- Added additional domain to the auth domain whitelist. #198 (Thanks @Blackbaud-VeehaKhanna)
- Update styles and automatically display vertical nav for
tcs
. #196
- Migrated to the new STS URL. #192
- Added the ability for the omnibar to update the favicon of the page. #183
- Added
marketplace
to the list of valid service IDs for notifications. #189
- Fixed an issue where minimizing and then immediately maximizing the vertical navigation could cause it to minimize again. #187
- Updated omnibar to always connect to the client notification service if the user is logged in. This allows consuming applications to receive custom messages. #184
- Updated vertical navigation to persist its minimized state across sessions. #181
- Added ability to preview vertical navigation. #179
- Updated nav reader references to point to the migrated AKS instance. #177
- Added
merchservices
to the list of valid service IDs for notifications. #175
- Updated the z-index for the toast container so it is never hidden by the omnibar or menu items. #172
- Removed the
notif
entitlement restriction forrenxt
andchrch
svcid
s. #170
- Added
chrch
to the list of valid service IDs for notifications. #168
- Added Smart Tution domains to auth domain whitelist. #167
- Updated omnibar iframes to provide
hostid
to ensure messages are handled appropriately per iframe. #164
- Added support for the
disableRedirect
option inBBContextProvider.ensureContext
. #162
- Added additional valid
svcid
s for notifications. #160
- Updated the environment bar styling for sandbox and test environments. #158
- Added
theme
andmode
properties to the omnibar theme configuration. #155
- Added additional domain to auth domain whitelist. #154
- Added notification bell restrictions based on
svcid
. #152
- Added additional domain to the auth domain whitelist. #148 (Thanks @Blackbaud-VeehaKhanna)
- Removed the recently added auth domains in the whitelist. #146 (Thanks @Blackbaud-VeehaKhanna)
- Added additional domain to the auth domain whitelist. #144 (Thanks @Blackbaud-VeehaKhanna)
- Added additional domain to the auth domain whitelist. #141 (Thanks @Blackbaud-JackieKirchhoff)
- Added additional domains to the auth domain whitelist. #136 (Thanks @Acoulter18!)
- Fixed an error in IE when retrieving a token. #137
- Updated the authentication service to call a different service URL depending on the caller's domain. This resolves the infinite redirect loop experienced by some Safari users by assigning cookies on Blackbaud-owned domains that are not
blackbaud.com
. #134 (Thanks @Acoulter18!)
- Added a
pushNotificationsEnabled()
method toBBOmnibar
to determine whether push notifications are enabled for the current user. #126
- Added a
setTitle()
method toBBOmnibar
to enable setting the window title while preserving the omnibar's selected service name and unread notification count in the title. #116
- Added logic to notify the omnibar toast container of the page's current URL. #118
- Moved notification toasts to the top of the page. #111
- Added omnibar notifications for users in environments or legal entities with the required entitlement. #108
- Added
selected
property toBBOmnibarServiceItem
. #84
- Added logic to correctly format the zone when it is added to a tokenized URL. #102 (Thanks @Blackbaud-JonathanBell!)
- Added a
getUrl()
method toBBAuth
that translates a 1BB tokenized URL and zone to a zoned URL. For example, a tokenized URL of1bb://eng-hub00/version
and a zone ofeng-pusa01
translates tohttps://eng-pusa01.app.blackbaud.net/hub00/version
. #90
- Added a new "global" bundle that can be used to explicitly add
BBAuthClient
to the browser's globalwindow
object even when RequireJS or another runtime module loader is present. Also added ES2015 bundles that can be used in browsers that natively support ES2015. #98
- Updated the omnibar placeholder accent to match the new omnibar gradient accent. #92
- Improved browser support for cross-domain auth token requests. #88
- Added
hideResourceLinks
config property which hides the menu items above the "Sign out" menu item in the user menu. #81
- Updated token requests to allow legal entity ID to be specified with a permission scope; previously permission scope could only be specified if environment ID were specified. #79
- Added
navVersion
config property. #78
- Updated inactivity prompt to be shown with a higher z-index to avoid being covered up by a page's contents in more cases. #75
- Updated user activity session renewal logic to reflect new max session age value from BBID. #73
- Added the ability to enforce legal entity context with
BBContextProvider
. #71
- Fixed issue where user could be redirected to an error page if a pending request was interrupted. #69
- Added interfaces and methods for theming the omnibar. #67
- Added support for passing legal entity ID when retrieving a token. #65
- Optimized the
BBAuth.getToken()
method by bypassing the CSRF endpoint which is no longer required by BBID. #63
- Added
BBContextProvider
class which allows an application to ensure the proper context (such as environment ID) is supplied to the application either by automatically selecting a default context or by allowing the user to select a context. #61
- Fixed accessibility issues. #59
- The legacy keep-alive URL can now be set by the omnibar through the navigation service response instead of being specified at load time. The
legacyKeepAliveUrl
property ofBBOmnibarConfig
should now be considered deprecated and will be removed in a future major version. #56
- Added ability to specify an environment ID when retrieving a token. When not a member of the specified environment, the user will be redirected to an error page. Specifying an environment ID also adds the environment ID to the JWT token so that consumers of the token can know the user is part of the specified environment. Note that previously an environment ID could be specified but only when combined with a permission scope. #59
-
The 2.0.0 release introduces a few breaking changes, so upgrading to it will require changes to your code.
-
The
experimental
omnibar config option has been removed, and what was formerly referred to as the "experimental" omnibar is now the default omnibar. To load the legacy omnibar (equivalent to not specifying theexperimental
flag in auth-client 1.x), use the newBBOmnibarLegacy
class and call itsload()
rather than theload()
method onBBOmnibar
. -
BBAuth.getToken()
now only accepts anargs
parameter of typeBBAuthGetTokenArgs
. Previously, the method overloaded the first argument to accept either anargs
parameter or aforceNewToken
boolean parameter as well as a seconddisableRedirect
parameter.forceNewToken
anddisableRedirect
should now be specified on theargs
object. -
Several TypeScript config/DTO-style
class
es have been converted tointerface
s. This keeps these types from being reified (i.e. generating a runtime artifact after transpilation to JavaScript) and results in a smaller bundle. This should have no effect on your code unless you're doing something unusual like calling one of these type's constructors.
- The new omnibar will now display the current environment name in a bar under the main omnibar when the user exists in more than one envrionment. #52
- Fixed flicker when new omnibar is rendered. #51
- Added
htmlFields
property to search results object for specifying which search result fields contain HTML elements and should not be escaped when displayed. #50
- Added configuration option to omnibar to allow anonymous users to access pages that do not require authentication. #49
- Fixed bug where users were redirected to signin on inactivity when the site allowed anonymous access. #49
- Added additional search results properties. #48
- Added
session-refresh
message that will be posted to the legacy keep-alive IFRAME when the user's Blackbaud session changes. #46
- Added basic support for a legacy keep-alive IFRAME when using the experimental omnibar. #43
- Ensure
menuEl
is a jQuery object before passing it through to the underlying omnibar widget. #44
- Added support for showing an inactivity prompt. #41
- Added support for local notifications. #39
- Export
BBAuthGetTokenArgs
class in main barrel file. #38
- Added ability to specify a permission scope when requesting an auth token so that permissions can be returned in the token. #37
- Fixed experimental omnibar rendering issue in IE 11. #36
- Added
localSearch
property to thenav-ready
event when the consumer has defined a local search callback. #35
- Fixed issue where background watcher iframe was keyboard focusable and interfered with assistive technology. #34
- Fixed issue where the experimental omnibar's tab order was not first on the page. #33
- Added minified bundle for vanilla JavaScript projects. #32
- Added ability to open the help widget from the experimental omnibar. #30
- Added
subtitle
andlabel
properties to search results object. #28 - Respect
enableHelp
config property for the new omnibar. #28
- Added ability to disable automatic redirect to the sign-in page when failing to retrieve a token and instead reject the returned promise. This allows the caller to handle the case when a user is not logged in, such as when retrieving a token to optionally display user data. #23
- Added ability to specify a list of services and their navigation items in the omnibar config object. #21
- Fixed dependency reference for
remap-istanbul
. #20
- Fixed issue where making multiple calls to
BBAuth.getToken()
before the first request completed resulted in multiple token requests. #15 (Thanks @Blackbaud-MatthewBell!)
- Fixed an issue retrieving a token in IE #13 (Thanks @Blackbaud-MatthewBell!)
- More infrastructure around the experimental omnibar #14
- Added support for running local search from omnibar #12
- Added support for passing auth token from host page to omnibar #12
- Updated logic for loading jQuery so that a newer version of jQuery already loaded onto the page does not get overwritten with an older version required by omnibar. #8 (Thanks @Blackbaud-RoseWhipple!)
- Added ability to retrieve a mock token for consumers testing non-production code. #9
- Version 1.0