HumanBrainProject / hbp-validation-framework

Apache License 2.0
5 stars 12 forks source link

Update auth process #319

Open appukuttan-shailesh opened 2 years ago

appukuttan-shailesh commented 2 years ago

Update auth to get token with longer expiry (7 days)

Note: Curation dashboard app still to be tested. When testing locally gives:

Access to XMLHttpRequest at 'https://iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/token' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

It uses the same EBRAINS 'client' (model-catalog) as the VF app, and that works fine.

appukuttan-shailesh commented 2 years ago

To be merged after CodeJam #12 (after Nov 26).

appukuttan-shailesh commented 2 years ago

incorporated in #335

Updated: errors in combining with #335 will need to investigate later.... so still pending