feat: server stubs

This commit is contained in:
janishutz committed 2026-09-13 08:30:20 +02:00
1 parent c6ed52b40a
commit f24de723fe
11 files changed
+4804 -7

No files matched your search

+3 -3
View File
@@ -2,13 +2,13 @@
"name": "@janishutz/oidc-login-sdk-server",
"version": "1.1.0",
"description": "Small wrapper on top of express-openid-connect to work together with my browser sdk",
"homepage": "https://github.com/janishutz/oidc-login-sdk-browser#readme",
"homepage": "https://github.com/janishutz/oidc-login-sdk#readme",
"bugs": {
"url": "https://github.com/janishutz/oidc-login-sdk-browser/issues"
"url": "https://github.com/janishutz/oidc-login-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/janishutz/oidc-login-sdk-browser.git"
"url": "git+https://github.com/janishutz/oidc-login-sdk.git"
},
"license": "GPL-3.0-or-later",
"author": "Janis Hutz",
+1 -1
View File
@@ -66,5 +66,5 @@ export const configure = (
} );
};
/** Re-Export of express-openid-connect's requiresAuth function */
/** Re-Export of express-openid-connect's requiresAuth function, this should be used instead of directly if you also want to use the stubs */
export const requiresAuth = connect.requiresAuth;