PKCE implementation

This commit is contained in:
René Preuß
2023-04-08 15:42:50 +02:00
parent f27a14c860
commit 06feac925b
6 changed files with 158 additions and 33 deletions

View File

@@ -4,18 +4,7 @@ export default defineNuxtConfig({
ssr: false,
oauth: {
redirect: {
login: '/login/', // sandbox appends / at the end of url
logout: '/',
callback: '/login/', // sandbox appends / at the end of url
home: '/home'
},
endpoints: {
authorization: 'https://api.sandbox.own3d.pro/v1/oauth/authorization',
userInfo: `https://id.stream.tv/api/users/@me`,
logout: 'https://id.stream.tv/oauth/token'
},
clientId: '90a951d1-ea50-4fda-8c4d-275b81f7d219',
scope: ['user:read', 'connections']
clientId: '98e1cb74-125a-4d60-b686-02c2f0c87521',
scope: ['user:read']
},
})