diff --git a/frontend/src/views/authorized.js b/frontend/src/views/authorized.js index 1b885fa949..37db021922 100644 --- a/frontend/src/views/authorized.js +++ b/frontend/src/views/authorized.js @@ -10,7 +10,7 @@ import { AnimatedLoadingIcon } from '../components/button'; export function Authorized(props) { const authComplete = (authCode, state) => { - let callback_url = `/api/v2/system/authentication/callback/?redirect_uri=${OSM_REDIRECT_URI}&code=${authCode}`; + let callback_url = `system/authentication/callback/?redirect_uri=${OSM_REDIRECT_URI}&code=${authCode}`; const emailAddress = getItem('email_address'); if (emailAddress !== null) { callback_url += `&email_address=${emailAddress}`;