๐Ÿ” OneID SSO Testing

MilliyMalaka Platform - Production Environment

๐Ÿš€ Deployment Information

Control API: https://api.uznqf.uz/control/v1 Client API: https://api.uznqf.uz/client/v1 (not deployed yet) OneID Client: uznqf_uz Callback URL: https://api.uznqf.uz/control/v1/OneIdSso/Callback

๐ŸŽฏ OneID SSO Login (Control Users)

Test OneID authentication for administrators and platform staff

Connecting to OneID...

๐Ÿ”“ Traditional Authentication

Test username/password authentication

๐Ÿ“ก Available Endpoints

  • GET /OneIdSso/Login - Initiate OneID authentication
  • GET /OneIdSso/Callback - Handle OneID callback
  • GET /OneIdSso/GetAuthorizationUrl - Get auth URL for SPAs
  • POST /Auth/Login - Traditional username/password login
  • POST /Auth/RefreshToken - Refresh JWT token
  • GET /Auth/GetProfile - Get current user profile
๐Ÿ“ Testing Instructions:

1. OneID Login: Click "Login with OneID" button above
2. Authenticate: Use your JShShIR + Password (or Mobile ID, ERI)
3. Callback: You'll be redirected back with user info
4. Tokens: Access and refresh tokens will be displayed
5. Test APIs: Use tokens to test protected endpoints
โš ๏ธ Important:
Make sure your OneID redirect URI is configured as:
https://api.uznqf.uz/control/v1/OneIdSso/Callback
Contact OneID administrator if not whitelisted.