[INJICERT-248] Simplify configuration of the well-known config (#49)#64
[INJICERT-248] Simplify configuration of the well-known config (#49)#64vharsh wants to merge 5 commits intoinji:developfrom
Conversation
3b138a2 to
7c9bd6c
Compare
certify-service/src/main/java/io/mosip/certify/services/VCIssuanceServiceImpl.java
Show resolved
Hide resolved
certify-service/src/main/java/io/mosip/certify/services/VCIssuanceServiceImpl.java
Outdated
Show resolved
Hide resolved
certify-service/src/main/java/io/mosip/certify/services/VCIssuanceServiceImpl.java
Outdated
Show resolved
Hide resolved
| mosip.certify.authn.jwk-set-uri=http://localhost:8088/v1/esignet/oauth/.well-known/jwks.json | ||
| mosip.certify.authn.allowed-audiences={ '${mosipbox.public.url}${server.servlet.path}/issuance/credential', 'http://localhost:8088/v1/esignet/vci/credential' } | ||
|
|
||
| mosip.certify.well-known.file.uri=https://raw.githubusercontent.com/mosip/inji-config/develop/certify-mock-openid4vci-wk.json |
There was a problem hiding this comment.
We should rename this file to certify-mock-identity-issuer-metadata.json.
Config files for other usecases should be renamed to match this naming convention.
There was a problem hiding this comment.
In the previous review Anusha had suggested to specify the Spec for well-known as well, i.e. openid4vci as there're other well-knowns as well.
ref: #49 (comment)
How about renaming it to certify-mock-identity-issuer-openid4vci-well-known.json ?
How many other well-known configurations do we expect to see in the Inji Stack/MOSIP Stack in the near future?
There was a problem hiding this comment.
It will not be immediate, so I suggest leaving the openid4vci part since it will make the file name too big.
There was a problem hiding this comment.
I actually mean to remove the openid4vci part from the name, but I think the file name is changed to just openid4vci
db9efe1 to
173f358
Compare
173f358 to
7c45f05
Compare
|
@jainhitesh9998 Here's the config PR for this changeset --> https://github.com/mosip/inji-config/pull/378 |
* [INJICERT-248] use well known config from spring from separate JSON file Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJICERT-248] fixup JSON formatting of well-known config Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJICERT-248] Fixup formatting & resource URL Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJICERT-248] add missing config for mock-identity Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJICERT-248] parse metadata when mediatype is text/plain Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJICERT-248] rename openid4vci well known file Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> --------- Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
mosip.certify.well-known.file.uri -> mosip.certify.issuer-metadata.config-url Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
19dd010 to
c937d45
Compare
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
|
Approved, this changes has to go along with inji-config changes |
| ## ------------------------------------------ Discovery openid-configuration ------------------------------------------- | ||
| mosip.certify.discovery.issuer-id=${mosipbox.public.url}${server.servlet.path} | ||
| mosip.certify.authorization.url=http://localhost:8088 | ||
| mosip.certify.issuer-metadata.config-url=https://raw.githubusercontent.com/mosip/inji-config/develop/certify-mock-openid4vci-wk.json |
There was a problem hiding this comment.
I'll handle the docker compose setup in a separate PR.
this changeset has been added back again post config-server stabalization for easier configuration