mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
Use a short-time cookie to remember where to callback to
This commit is contained in:
parent
405c954b65
commit
af4c35069b
5 changed files with 2212 additions and 14 deletions
|
@ -39,10 +39,10 @@
|
|||
</form>
|
||||
<hr />
|
||||
<div class="w-full flex py-3">
|
||||
<a href="http://localhost:3333/auth/google">
|
||||
<a :href="`http://localhost:3333/auth/google?callback=${currentUrl}`">
|
||||
<ui-btn color="primary" class="leading-none">Login with Google</ui-btn>
|
||||
</a>
|
||||
<a href="http://localhost:3333/auth/openid">
|
||||
<a :href="`http://localhost:3333/auth/openid?callback=${currentUrl}`">
|
||||
<ui-btn color="primary" class="leading-none">Login with OpenId</ui-btn>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -69,7 +69,8 @@ export default {
|
|||
},
|
||||
confirmPassword: '',
|
||||
ConfigPath: '',
|
||||
MetadataPath: ''
|
||||
MetadataPath: '',
|
||||
currentUrl: location.toString()
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue