mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(ui) use new /sso endpoint
This commit is contained in:
parent
8a36670693
commit
8836bd0d70
1 changed files with 1 additions and 2 deletions
|
@ -43,11 +43,10 @@ const UserDashboard = () => {
|
|||
);
|
||||
}
|
||||
else if (userID == null || accessToken == null) {
|
||||
// redirect to page: ProxyBaseUrl/google-login/key/generate
|
||||
const baseUrl = proxyBaseUrl.endsWith('/') ? proxyBaseUrl : proxyBaseUrl + '/';
|
||||
|
||||
// Now you can construct the full URL
|
||||
const url = `${baseUrl}google-login/key/generate`;
|
||||
const url = `${baseUrl}sso/key/generate`;
|
||||
|
||||
window.location.href = url;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue