`@nebular/auth` should not depend on `@nebular/theme`
Open
- Dominant language
- TypeScript
- Stars
- 8.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
### Issue type
**I'm submitting a ...**
* [x] bug report
* [ ] feature request
### Issue description
**Current behavior:**
Can not use nebular OAuth2Strategy without `@nebular/theme`
**Expected behavior:**
`@nebular/auth` should not depend on `@nebular/theme`
`NbOAuth2AuthStrategy` uses the `NB_WINDOW` injectiontoken from `@nebular/theme`, and so my application has to list it as a dependency, even though I'm not using Nebular's UI system.
Besides, NB_WINDOW just resolves to the global `window` object...
Contributor guide
Assessment
This issue has not been assessed yet.