Skip to content

Commit

Permalink
Merge pull request #7 from shiva-beehyv/update-config
Browse files Browse the repository at this point in the history
Remove residentmobileapp context path as part of the mimoto urls
  • Loading branch information
vishwa-vyom authored Feb 26, 2024
2 parents 8e27953 + 9b8a384 commit ed6f06e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions inji-web/src/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export const getESignetRedirectURL = (scope, clientId, codeChallenge, state) =>

/* MIMOTO CONFIG */
export const MIMOTO_URL = process.env.REACT_APP_MIMOTO_URL || "/mimoto";
export const FETCH_ISSUERS_URL = `${MIMOTO_URL}/residentmobileapp/v2/issuers`;
export const getSearchIssuersUrl = (issuer) => `${MIMOTO_URL}/residentmobileapp/v2/issuers?search=${issuer}`;
export const getCredentialsSupportedUrl = (issuerId) => `${MIMOTO_URL}/residentmobileapp/v2/issuers/${issuerId}/credentials-supported`;
export const getFetchAccessTokenFromCodeApi = (issuer) => `${MIMOTO_URL}/residentmobileapp/get-token/${issuer}`;
export const getVcDownloadAPI = (issuerId, credentialId) => `${MIMOTO_URL}/residentmobileapp/v2/issuers/${issuerId}/credentials/${credentialId}/download`;
export const FETCH_ISSUERS_URL = `${MIMOTO_URL}/v2/issuers`;
export const getSearchIssuersUrl = (issuer) => `${MIMOTO_URL}/v2/issuers?search=${issuer}`;
export const getCredentialsSupportedUrl = (issuerId) => `${MIMOTO_URL}/v2/issuers/${issuerId}/credentials-supported`;
export const getFetchAccessTokenFromCodeApi = (issuer) => `${MIMOTO_URL}/get-token/${issuer}`;
export const getVcDownloadAPI = (issuerId, credentialId) => `${MIMOTO_URL}/v2/issuers/${issuerId}/credentials/${credentialId}/download`;

/* MISC */
export const DATA_KEY_IN_LOCAL_STORAGE = "vcDownloadDetails";

0 comments on commit ed6f06e

Please sign in to comment.