Merge branch 'main' into develop
# Conflicts: # .env.production # entrypoint.sh # src/views/MainView.vue
This commit is contained in:
commit
1f8c3ac144
4 changed files with 8 additions and 2 deletions
|
|
@ -1,4 +1,7 @@
|
|||
const ACCESS_TOKEN = 'BMAHRISCKI_KEYCLOAK_IDENTITY'
|
||||
const key_C_Config = {
|
||||
url_Logout: import.meta.env.VITE_URL_SSO,
|
||||
}
|
||||
|
||||
interface AuthResponse {
|
||||
access_token: string
|
||||
|
|
@ -15,7 +18,7 @@ async function setAuthen(r: AuthResponse) {
|
|||
|
||||
async function logout() {
|
||||
await deleteCookie(ACCESS_TOKEN)
|
||||
window.location.href = '/login'
|
||||
window.location.href = key_C_Config.url_Logout
|
||||
}
|
||||
|
||||
async function getToken() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue