Login Management

Users may have more than one BrightID (e.g. have multiple usernames, emails & passwords). For example, a user may work for a bureau and complete payroll for multiple customers. Therefore, they may end up moving Timesheet data into BrightPay for more than one customer (under different Bright IDs). Or a user may complete the accounts for one customer and payroll for a different customer.

The Bright Identity Provider may automatically log the user in, meaning it can be difficult for the user to know which account they are logged in as and also how to change accounts. This is an area of frustration for users using OAuth 2.0 integrations with any application, as it can be difficult for them to resolve themselves.

Initial Login

If your application does not already have an Access Token (that is not expired) then provide a Login button as shown below (please see Creating the Initial Login Url)

On completion of the login process capture the Access Token

Letting the User see who is logged in

Get the user connected to the Access Token and display it on the screen (please see Get User Summary) then also provide a "Switch User" button in case the wrong account has been logged in (please see Switching Users)

Last updated