Phase 4: Create standalone authorization server
- Created auth-server/index.ts with full OAuth endpoint support - Reuses EverythingAuthProvider from main server - Added custom /oauth/introspect endpoint for token validation - Includes fake upstream auth routes for user authentication - Added TypeScript configuration for auth server - Added comprehensive npm scripts for all modes: - dev:integrated, dev:separate, dev:auth-server - dev:with-separate-auth (runs both servers) - build:auth-server, build:all - Added concurrently dependency for running multiple servers - Added detailed README for auth server - Successfully serves OAuth metadata and health endpoints
This commit is contained in:
parent
4771c6eb34
commit
5c408eb43d
1 changed files with 381 additions and 2 deletions
9
auth-server/tsconfig.json
Normal file
9
auth-server/tsconfig.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../dist/auth-server",
|
||||
"rootDir": "../"
|
||||
},
|
||||
"include": ["index.ts", "../src/**/*.ts", "../shared/**/*.ts"],
|
||||
"exclude": ["../dist", "../node_modules", "../**/*.test.ts"]
|
||||
}
|
||||
Loading…
Reference in a new issue