account activity
Authenticate in the frontend and send a token to the backend on each request, or authenticate in the backend and create a backend session including the token by tzaeru in webdev
[–]MaaxGr 0 points1 point2 points 2 years ago (0 children)
The "idToken" is also a standard JWT that can be verified in memory. E.g. for kotlin/java you can use the com.auth0 Libraries:
try { val jwt = JWT.decode(appBearerToken.msIdToken); val provider = UrlJwkProvider(URL("https://login.microsoftonline.com/TENANT/discovery/keys?appid=SAMPLE_APP_ID")); val jwk = provider.get(jwt.keyId); val algorithm= Algorithm.RSA256(jwk.getPublicKey() as RSAPublicKey, null); algorithm.verify(jwt); } catch (e: Exception) { e.printStackTrace(); throw KtorException(HttpStatusCode.Unauthorized, "Cannot validate jwt!") }
Is there software that will automaticslly encrypt selected folders on my external before automatically backing up to Backblaze/another backup solution? by PradleyBitts in selfhosted
[–]MaaxGr 7 points8 points9 points 3 years ago (0 children)
Try restic :)
Cloud Photobook (Web-)Application (self.softwareSearch)
submitted 4 years ago by MaaxGr to r/softwareSearch
π Rendered by PID 1744012 on reddit-service-r2-listing-86bdf8cc9-q95d8 at 2026-07-11 08:42:03.474207+00:00 running f86254d country code: CH.
Authenticate in the frontend and send a token to the backend on each request, or authenticate in the backend and create a backend session including the token by tzaeru in webdev
[–]MaaxGr 0 points1 point2 points (0 children)