MOSIP decode hackathon

i am getting a 405 error when i try to use this endpoint : {{url}}/authorization/v2/oauth-details (url : https://esignet-mock.collab.mosip.net/)
Body of post request :
{

"requestTime": "*{{$isoTimestamp}}*",

“request”: {

“clientId”: “{{clientId}}”,

“scope”: “sample_vc_mdoc”,

“responseType”: “code”,

“redirectUri”: “{{redirectionUrl}}”,

“display”: “popup”,

“prompt”: “login”,

“acrValues”: “mosip:idp:acr:generated-code”,

“nonce” : “{{nonce}}”,

“state” : “{{state}}”,

“claimsLocales” : “en”,

“codeChallenge” : “{{codeChallenge}}”,

“codeChallengeMethod” : “{{codeChallengeMethod}}

}

}

Hello @Hk_19

Thank you for connecting, team. Please verify the URL value in the environment variables and ensure it is pointing to the authentication server you are using. Currently, the configured value is https://esignet-mock.collab.mosip.net/, which contains an extra ‘/’ , causing the endpoint to be invalid. as per value in query endpoint is {{url}}**/**authorization/v2/oauth-details

Regards

Likhitha R L

On behalf of INJI team

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.