No longer sending extra data, renamed some properties
This commit is contained in:
parent
77511a5338
commit
af75c6d1ea
4 changed files with 14 additions and 10 deletions
|
@ -4,8 +4,10 @@ const oac = {
|
|||
props: ['code'],
|
||||
mounted () {
|
||||
if (this.code) {
|
||||
const { clientId } = this.$store.state.oauth
|
||||
|
||||
oauth.getToken({
|
||||
...this.$store.state.oauth,
|
||||
clientId,
|
||||
instance: this.$store.state.instance.server,
|
||||
code: this.code
|
||||
}).then((result) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue