How to achieve multi-tenant Authentication in my SaaS application? [closed]

I’m currently running a single-instance SaaS application backend where multiple tenants’ data is stored in the same database, separated by tenant IDs. I’m looking to implement authentication that supports multiple tenants while ensuring da… Continue reading How to achieve multi-tenant Authentication in my SaaS application? [closed]

Is it secure to send JWT tokens in url query parameters if we use nonce to make it a one time token?

Websockets don’t support sending auth tokens during websocket handshake as part of HTTP headers, rather only via query parameters. This has a security risk of leaking these tokens in server logs. However, if we create these JWT tokens with… Continue reading Is it secure to send JWT tokens in url query parameters if we use nonce to make it a one time token?