Skip to content

Commit

Permalink
Changed Redirect URI
Browse files Browse the repository at this point in the history
  • Loading branch information
sergesoroka committed Nov 18, 2024
1 parent 04df611 commit 921e4df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 81 deletions.
5 changes: 4 additions & 1 deletion components/ImageSelect/ImageSelect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ export default function ImageSelect({ data, imageSelected, setImageSelected }) {
{data && data.length > 0 ? (
renderImageSelect
) : (
<p style={{ color: "darkred" }}>Sorry, no data available</p>
<div style={{ textAlign: "center" }}>
<p style={{ color: "darkred" }}>Sorry, no data available.</p>
<p style={{ color: "darkred" }}>Please, log in.</p>
</div>
)}
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "./index.css";
const oidcConfig = {
authority: "https://iam.ideaconsult.net/auth/realms/nano",
client_id: "idea-ui",
redirect_uri: "http://localhost:5173/search/",
redirect_uri: window.location.origin + "/search/",
response_type: "code",
scope: "openid profile email",
};
Expand Down
31 changes: 0 additions & 31 deletions utils/fetcher.jsx

This file was deleted.

48 changes: 0 additions & 48 deletions utils/test.jsx

This file was deleted.

0 comments on commit 921e4df

Please sign in to comment.