Skip to content

Commit

Permalink
Merge pull request #208 from zstenger93/api_connections
Browse files Browse the repository at this point in the history
Api connections
  • Loading branch information
zstenger93 authored Jan 6, 2024
2 parents 91fa278 + 353ed85 commit 6657c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/welcome_page/LoginVia42.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const OAuth = async ({ navigate, redirect_uri }) => {

if (!data.is_authenticated) {
window.open(`${redirect_uri}/api/oauth/authorize/`);
while (!data.is_authenticated) {
if (!data.is_authenticated) {
await new Promise((resolve) => setTimeout(resolve, 1000));
response = await fetch(auth, {
credentials: "include",
Expand Down

0 comments on commit 6657c18

Please sign in to comment.