Add support to secureRoutes config in buildAngularAuthConfig util, so that angular-auth-oidc-client will automatically add access tokens to request header for these routes.
After discussion, we've decided not to mix Logto configs with angular-oidc-auth-client configs, since some of the params are conflicting and might cause further confusion. Closing the ticket...
Summary
Add support to
secureRoutes
config inbuildAngularAuthConfig
util, so thatangular-auth-oidc-client
will automatically add access tokens to request header for these routes.Feature requested by community: https://discord.com/channels/965845662535147551/1215176080680550461
Testing
We can do this now:
Checklist
.changeset
- [ ] unit tests- [ ] integration tests- [ ] necessary TSDoc comments