Skip to content

Conversation

@vharsh
Copy link
Contributor

@vharsh vharsh commented Aug 8, 2024

this changeset has been added back again post config-server stabalization for easier configuration

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will not be immediate, so I suggest leaving the openid4vci part since it will make the file name too big.

Copy link
Contributor

@vishwa-vyom vishwa-vyom Nov 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually mean to remove the openid4vci part from the name, but I think the file name is changed to just openid4vci

@vharsh
Copy link
Contributor Author

vharsh commented Oct 16, 2024

@jainhitesh9998 Here's the config PR for this changeset --> https://github.com/mosip/inji-config/pull/378

@vharsh vharsh requested a review from swatigoel October 16, 2024 15:54
* [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>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
@jainhitesh9998
Copy link
Contributor

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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll handle the docker compose setup in a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants