Skip to content

Commit

Permalink
change to callback
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioLangaritaBenitez committed Oct 18, 2024
1 parent d7f69ae commit 2976cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/callback.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@
localStorage.setItem("yunikorn_enable",response.data.config?.yunikorn_enable);
localStorage.setItem("gpu_available",response.data.config?.gpu_available);
localStorage.setItem("interLink_available",response.data.config?.interLink_available);
const authData={
const authData= JSON.stringify({
"authenticated":true,
"user":{ 'access_token': tokens['access_token'], info:users } ,
"endpoint": localStorage.getItem('api')}
"endpoint": localStorage.getItem('api')})
localStorage.setItem("authData",authData);
var url_redirect = window.location.origin + "/#/ui/services"
window.location.href = url_redirect
Expand Down

0 comments on commit 2976cc9

Please sign in to comment.