OpenSerbianEID / ePorezi

ePorezi application mod to run on MacOS/Linux
30 stars 6 forks source link

Fix build and launch for newer JDK versions #19

Open sesm opened 3 months ago

sesm commented 3 months ago

I have openjdk 17.0.7 2023-04-18 on MacOS, and I had the following issues:

As far as I understand both are related to new Java 9 Modules. If there is a better way to fix this, feel free to reject the PR.

Kasokaso commented 3 months ago

There is no need to use this app anymore. Why don't you use ConsentID instead?

sesm commented 3 months ago

I use it because some time ago I've done the setup according to the first instruction I found, which included running ePorezi app on Windows VM. Yesterday I randomly found this repo and fixed the app to work on my machine without VM.

Regarding ConsentID, I've seen instructions on how to setup it, but haven't seen an instruction on how to use it to login to https://eporezi.purs.gov.rs. If you point me to one that would be greatly appreciated!

Kasokaso commented 3 months ago

Try out this link: https://prijava.eid.gov.rs/authenticationendpoint/login.do?client_id=Mfjwl4YNNR5AKipO_HaAsahfDr4a&code_challenge=H_WcFOhpiYXlRJ2lZXD37OQFQ7M87FH7hyZeX_y6Xb4&code_challenge_method=S256&commonAuthCallerPath=%2Foauth2%2Fauthorize&forceAuth=false&nonce=20385cfad7383&passiveAuth=false&redirect_uri=https%3A%2F%2Feporezi.purs.gov.rs%2Fsignin-oidc&response_type=code&scope=openid+name+id+quality+residence+mail&state=2148198c7d865&tenantDomain=carbon.super&sessionDataKey=c4824e5c-d056-4f5c-8638-64c7d467e50a&relyingParty=Mfjwl4YNNR5AKipO_HaAsahfDr4a&type=oidc&sp=ePorezi&isSaaSApp=false&authenticators=IdentifierExecutor%3ALOCAL%3BMFACID%3ALOCAL&language=en

sesm commented 3 months ago

@Kasokaso that worked, thank you!