@@ -7,7 +7,7 @@ import { useSelector } from 'react-redux'
7
7
export const fetchServerConfiguration = async ( token ) => {
8
8
const headers = { Authorization : `Bearer ${ token } ` }
9
9
return axios
10
- . get ( '/oauth2/config' , { headers } )
10
+ . get ( '/app/admin-ui/ oauth2/config' , { headers } )
11
11
. then ( ( response ) => response . data )
12
12
. catch ( ( error ) => {
13
13
console . error (
@@ -32,7 +32,7 @@ export const getUserIpAndLocation = async () => {
32
32
// Retrieve user information
33
33
export const fetchUserInformation = async ( code ) => {
34
34
return axios
35
- . post ( '/oauth2/user-info' , {
35
+ . post ( '/app/admin-ui/ oauth2/user-info' , {
36
36
code : code ,
37
37
} )
38
38
. then ( ( response ) => response . data )
@@ -48,7 +48,7 @@ export const fetchUserInformation = async (code) => {
48
48
// post user action
49
49
export const postUserAction = async ( userAction ) => {
50
50
return axios
51
- . post ( '/logging/audit' , {
51
+ . post ( '/admin-ui/ logging/audit' , {
52
52
headers : {
53
53
'Content-Type' : 'application/json' ,
54
54
} ,
@@ -63,7 +63,7 @@ export const postUserAction = async (userAction) => {
63
63
// Get API Access Token
64
64
export const fetchApiAccessToken = async ( jwt ) => {
65
65
return axios
66
- . get ( '/oauth2/api-protection-token' , { params : { ujwt : jwt } } )
66
+ . get ( '/app/admin-ui/ oauth2/api-protection-token' , { params : { ujwt : jwt } } )
67
67
. then ( ( response ) => response . data )
68
68
. catch ( ( error ) => {
69
69
console . error (
@@ -76,7 +76,7 @@ export const fetchApiAccessToken = async (jwt) => {
76
76
77
77
export const fetchApiTokenWithDefaultScopes = async ( ) => {
78
78
return axios
79
- . get ( '/oauth2/api-protection-token' )
79
+ . get ( '/app/admin-ui/ oauth2/api-protection-token' )
80
80
. then ( ( response ) => response . data )
81
81
. catch ( ( error ) => {
82
82
console . error (
0 commit comments