mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-07 19:22:43 +02:00
Refactor Auth to breakout functions in TokenManager, handle token generation for OIDC
This commit is contained in:
@@ -304,6 +304,7 @@ export default {
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
// Token passed as query parameter after successful oidc login
|
||||
if (this.$route.query?.setToken) {
|
||||
localStorage.setItem('token', this.$route.query.setToken)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user