Skip to content

Commit

Permalink
api: change gateway auth endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Apr 22, 2024
1 parent c2d0bfd commit 385890e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/modules/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const getToken = async (signature: string | string[] | undefined, challen
};

export async function verifyToken(token: string | null) {
const url = `${gatewayURL}/api/v1.0/webapp/auth`
const url = `${gatewayURL}/api/v1.0/authenticate`
const response = await axios.get(url, {
headers: {
"Authorization": `Bearer ${token}`
Expand Down

0 comments on commit 385890e

Please sign in to comment.