platformatic icon indicating copy to clipboard operation
platformatic copied to clipboard

No way to add authentication from the generated scalar cliens

Open ezexe opened this issue 10 months ago • 8 comments

Image

ezexe avatar Jan 22 '25 19:01 ezexe

as opposed to the desktop app

Image

ezexe avatar Jan 23 '25 00:01 ezexe

Oh that's still scalar? I'd need to investigate why!

mcollina avatar Jan 23 '25 17:01 mcollina

i wish i knew

ezexe avatar Jan 23 '25 23:01 ezexe

I mean, is that screenshot from the scalar desktop app?

mcollina avatar Jan 24 '25 09:01 mcollina

Can you please include a server example to reproduce?

mcollina avatar Jan 24 '25 13:01 mcollina

yea ill include some kinda base project tomorrow im beat for today and i already started expanding ill create a new base project

ezexe avatar Jan 26 '25 20:01 ezexe

This will be handled by the scalar team, I've contacted them and it's a bug on their side.

The solution for you is to add the correct authentication definitions in your platformatic.json/watt.json file.

mcollina avatar Jan 26 '25 21:01 mcollina

Great

a simple repro: https://github.com/ezexe/plt-watt-auth0-abs

ezexe avatar Jan 28 '25 08:01 ezexe