๐Ÿ” OAuth Gateway

OAuth 2.0 Gateway with support for multiple upstream providers, JWT token generation, and token exchange.

๐Ÿ“ OAuth Endpoints

Authorization: /authorize
Initiate OAuth flow with optional upstream provider
Token: /oauth/token
Exchange authorization code for access token
Token Exchange: /oauth/exchange-token
Exchange gateway JWT for upstream tokens
User Info: /api/userinfo
Get user information (requires Bearer token)
JWKS: /.well-known/jwks.json
Public keys for JWT verification

๐Ÿงช Test Configuration

Client ID: demo-client

Client Secret: demo-secret

Redirect URI: http://localhost:4200/callback

Available Providers

Example Authorization URL

https://oauth-gateway.sdm-ci-4.express.eureka.dev.sap/authorize?client_id=demo-client&redirect_uri=http://localhost:4200/callback&response_type=code&scope=openid%20profile%20email&state=test123&provider=ccv2-local