Skip to content

Commit

Permalink
Specify customProvider to skip hosted ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptSmith committed Oct 4, 2023
1 parent f30512c commit 35ab96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/context/auth-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function useLogin() {
setIsLoggingIn(true);
localStorage.removeItem(TEMP_PWD_LOCALSTORAGE_KEY);
try {
const user = await Auth.federatedSignIn();
const user = await Auth.federatedSignIn({ customProvider: "QUT" });
initializeUser().then(() => console.log("User initialised post login"));
router.push("/").then(() => console.log("Routing to home post login"));
return user;
Expand Down

0 comments on commit 35ab96b

Please sign in to comment.