Fix openid path that is still expecting a trailing slash

This commit is contained in:
advplyr 2023-11-19 14:45:35 -06:00
parent 8dbffa7993
commit ef4d7ba1bf

View file

@ -244,7 +244,7 @@ export default {
this.oauth.challenge = challenge this.oauth.challenge = challenge
// set parameter isRest to true, so the backend wont attempt a redirect after we call backend:/callback in exchangeCodeForToken // set parameter isRest to true, so the backend wont attempt a redirect after we call backend:/callback in exchangeCodeForToken
const backendEndpoint = `${url}auth/openid?code_challenge=${challenge}&code_challenge_method=S256&isRest=true` const backendEndpoint = `${url}/auth/openid?code_challenge=${challenge}&code_challenge_method=S256&isRest=true`
try { try {
const response = await CapacitorHttp.get({ const response = await CapacitorHttp.get({