EggyByte Server
  1. AuthService
EggyByte Server
  • Default module
    • 项目介绍
    • 用户协议
    • 隐私政策
    • SuperDungeon
      • 超能魔盗团 隐私政策
      • User
        • Get User Data
        • Free Lottery
        • Paid Lottery
        • Sell Artwork
        • Find Top Users
        • Get Initial Data
        • Get Access
        • Change Name
      • Rank
        • Update
        • Find Top Users
      • Local
      • Remote
    • EggyByte
      • Account
        • Login
        • Register
        • Login Or Register
        • Access
        • Buy
        • Get Public Access
        • Formal Register
      • Game
        • Save Data
        • Load Data
      • Test
        • Random String
        • Get Map Json
      • Crypto
        • Compute Hash
        • Encrypt
        • Encrypt Map
        • Decrypt
      • Ad
        • Show
        • Debug
        • Impression Callback
      • User
        • Lock Test
        • Get User Data
        • Open Chest
      • Admin
        • Create Api Roles Copy
        • Create Api Roles Copy Copy
        • Delete Api Roles
        • Create Api Roles
      • Database
        • Update Mongo Users
        • List Databases
        • List Collections
        • List Mongo Users
        • Get Collection Stats
        • Get Collection Info
        • Get Paginated Documents
        • Create Mongo Users
        • Create Mongo Databases
      • Mailing
        • Send Mail
        • Send Captcha
        • Check Captcha
      • ThirdParty
        • Connect Url
        • Callback
        • Payment Link
    • 1
    • Untitled Endpoint
      GET
    • Untitled Endpoint
      POST
    • Setup
      POST
    • Create Database
      POST
    • Get Card
      GET
    • Create Question
      POST
    • Create Collection
      POST
    • Get Dashboards
      GET
    • Get Dashboard
      GET
    • Get Dashboard Copy
      POST
    • Untitled Endpoint
      GET
    • Untitled Endpoint
      GET
  • tester/v1/tester.proto
    • TesterService
      • List recent test runs with optional filtering.
      • Run a multi-service test suite in one request.
      • Run focused tests for a single service.
      • Retrieve a previously executed test run by ID.
  • auth/v1/auth.proto
    • AuthService
      • GetJWKS returns the JSON Web Key Set for token validation Used by Higress and other services to validate JWT tokens
        GET
      • GetOIDCDiscovery returns the OIDC discovery document Required for Higress OIDC plugin configuration
        GET
      • Authorize initiates the OAuth2/OIDC authorization flow Standard OIDC authorization endpoint for Higress integration
        GET
      • Authorize initiates the OAuth2/OIDC authorization flow Standard OIDC authorization endpoint for Higress integration
        POST
      • IntrospectToken validates and returns information about a token RFC 7662 - OAuth 2.0 Token Introspection (internal use only)
        POST
      • RevokeToken revokes an access or refresh token RFC 7009 - OAuth 2.0 Token Revocation
        POST
      • Token exchanges authorization code or refresh token for access tokens Standard OIDC token endpoint for Higress integration
        POST
      • GetUserInfo returns user information from a valid access token Standard OIDC UserInfo endpoint for Higress integration
        GET
      • GetUserInfo returns user information from a valid access token Standard OIDC UserInfo endpoint for Higress integration
        POST
      • ListUsers lists all users with auth information (admin only)
        GET
      • UpdateUserRole updates user's role (admin only)
        PUT
      • SendEmailVerification sends email verification code
        POST
      • VerifyEmail verifies email with verification code
        POST
      • ResolveUserIdentity resolves JWT token and returns user identity context Called by Higress OIDC plugin to get user information for header injection
        POST
      • Login authenticates user credentials and returns tokens
        POST
      • Logout invalidates user tokens and sessions
        POST
      • ChangePassword changes user password (requires authentication)
        POST
      • ConfirmPasswordReset confirms password reset with code
        POST
      • ResetPassword initiates password reset flow
        POST
      • RefreshToken refreshes an access token using a refresh token
        POST
      • Register creates a new user account with authentication credentials
        POST
      • GetUserSessions retrieves active sessions for a user
        GET
      • RevokeUserSession revokes a specific user session
        DELETE
  1. AuthService

GetUserInfo returns user information from a valid access token Standard OIDC UserInfo endpoint for Higress integration

GET
/oauth/userinfo

Request

None

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/oauth/userinfo'

Responses

🟢200OK
application/json
A successful response.
Body

Example
{
    "sub": "string",
    "email": "string",
    "emailVerified": true,
    "name": "string",
    "givenName": "string",
    "familyName": "string",
    "picture": "string",
    "locale": "string",
    "zoneinfo": "string",
    "updatedAt": "string",
    "customClaims": {
        "property1": "string",
        "property2": "string"
    },
    "roles": [
        "string"
    ],
    "permissions": [
        "string"
    ]
}
🟢200Success
Modified at 2025-09-27 16:13:30
Previous
Token exchanges authorization code or refresh token for access tokens Standard OIDC token endpoint for Higress integration
Next
GetUserInfo returns user information from a valid access token Standard OIDC UserInfo endpoint for Higress integration
Built with