login
This commit is contained in:
parent
900d308f81
commit
6e2d5beee0
8 changed files with 426 additions and 42 deletions
|
|
@ -10,7 +10,7 @@ const http = Axios.create({
|
|||
|
||||
http.interceptors.request.use(
|
||||
async function (config: AxiosRequestConfig<any>) {
|
||||
await keycloak.updateToken(1);
|
||||
// await keycloak.updateToken(1);
|
||||
config.headers = config.headers ?? {};
|
||||
const token = keycloak.token;
|
||||
// const token = localStorage.getItem("access_token")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue