You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Navigate and interact with the Thunder Console UI. Use when exploring the Thunder admin console, testing UI changes, creating users/applications/roles, or debugging the frontend.
3
+
description: Navigate and interact with the ThunderID Console UI. Use when exploring the ThunderID admin console, testing UI changes, creating users/applications/roles, or debugging the frontend.
4
4
allowed-tools: Bash(playwright-cli:*) Bash(npx:*)
5
5
---
6
6
7
-
# Thunder Console Navigation with playwright-cli
7
+
# ThunderID Console Navigation with playwright-cli
8
8
9
9
## Resolving the Console Base URL
10
10
@@ -13,30 +13,30 @@ Before running any commands, determine the console base URL. Do NOT hardcode a U
13
13
1.**Check `deployment.yaml`** at `backend/cmd/server/repository/conf/deployment.yaml` for the `server.hostname` and `server.port`. If the backend is serving the console (production mode), the URL is `https://{hostname}:{port}/console`.
14
14
2.**Check `vite.config.ts`** at `frontend/apps/console/vite.config.ts` for the development server `PORT` (default `5191`) and `HOST` (default `localhost`). If the frontend development server is running separately, the URL is `https://{HOST}:{PORT}/console`.
15
15
3.**Check environment variables**: `PORT`, `HOST`, or `BASE_URL` may override the defaults.
16
-
4.**If unable to resolve**, ask the user for the Thunder Console URL.
16
+
4.**If unable to resolve**, ask the user for the ThunderID Console URL.
17
17
18
18
Use the resolved URL as `{CONSOLE_URL}` in all commands below (e.g., `{CONSOLE_URL}`).
19
19
20
20
## Quick Start
21
21
22
22
```bash
23
23
# Open Console (redirects to sign-in gate)
24
-
playwright-cli open {CONSOLE_URL} -s=thunder
24
+
playwright-cli open {CONSOLE_URL} -s=thunderid
25
25
26
26
# After authenticating (see below), navigate directly
@@ -47,11 +47,11 @@ If `playwright-cli` is not installed:
47
47
npm install -g @playwright/cli@latest
48
48
```
49
49
50
-
All commands use the named session `-s=thunder` so the browser persists across commands.
50
+
All commands use the named session `-s=thunderid` so the browser persists across commands.
51
51
52
52
## Authentication
53
53
54
-
Thunder Console requires authentication. The sign-in form is dynamically rendered by the Asgardeo SDK, so always use `snapshot` to get element refs before interacting.
54
+
ThunderID Console requires authentication. The sign-in form is dynamically rendered by the Asgardeo SDK, so always use `snapshot` to get element refs before interacting.
-**Redirected to `/gate/signin`**: Auth expired. Re-authenticate or run `playwright-cli state-load thunder-auth -s=thunder`.
208
-
-**Elements not found in snapshot**: Page may still be loading. Wait a moment and run `playwright-cli snapshot -s=thunder` again.
209
-
-**HTTPS certificate errors**: Thunder uses self-signed certificates on multiple origins (gate, console, backend). The browser will block navigation with `ERR_CERT_AUTHORITY_INVALID`. To bypass, open a blank session first, then navigate via JS `eval` to trigger Chrome's interstitial error page, and click through it:
207
+
-**Redirected to `/gate/signin`**: Auth expired. Re-authenticate or run `playwright-cli state-load thunderid-auth -s=thunderid`.
208
+
-**Elements not found in snapshot**: Page may still be loading. Wait a moment and run `playwright-cli snapshot -s=thunderid` again.
209
+
-**HTTPS certificate errors**: ThunderID uses self-signed certificates on multiple origins (gate, console, backend). The browser will block navigation with `ERR_CERT_AUTHORITY_INVALID`. To bypass, open a blank session first, then navigate via JS `eval` to trigger Chrome's interstitial error page, and click through it:
210
210
211
211
```bash
212
212
# 1. Open a blank browser session
213
-
playwright-cli open -s=thunder
213
+
playwright-cli open -s=thunderid
214
214
215
215
# 2. Navigate to the target URL (triggers cert error page)
playwright-cli snapshot -s=thunder# find the "Advanced" button ref
220
-
playwright-cli click <advanced-ref> -s=thunder
221
-
playwright-cli snapshot -s=thunder# find the "Proceed to localhost (unsafe)" link ref
222
-
playwright-cli click <proceed-ref> -s=thunder
219
+
playwright-cli snapshot -s=thunderid# find the "Advanced" button ref
220
+
playwright-cli click <advanced-ref> -s=thunderid
221
+
playwright-cli snapshot -s=thunderid# find the "Proceed to localhost (unsafe)" link ref
222
+
playwright-cli click <proceed-ref> -s=thunderid
223
223
```
224
224
225
225
**Important**: You must accept certs for **each origin** the console talks to. The console redirects to the gate for auth, which calls the backend. If the backend cert is not accepted in the same browser session, API calls will silently fail. Resolve the backend port from `deployment.yaml` (`server.port`) and the gate port from the console's runtime config. Accept certs for each origin before proceeding.
226
226
227
227
-**Login form not visible**: The Asgardeo SDK renders the form dynamically. Take a snapshot after a brief wait. If you see a loading spinner, snapshot again after a few seconds.
228
-
-**Session lost**: Run `playwright-cli list` to check active sessions. Start a new one with `playwright-cli open -s=thunder`.
228
+
-**Session lost**: Run `playwright-cli list` to check active sessions. Start a new one with `playwright-cli open -s=thunderid`.
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Project Overview
2
2
3
-
Thunder is a lightweight user and identity management product. Go backend + React frontend in a monorepo. It provides authentication and authorization via OAuth2/OIDC, flexible orchestration flows, and individual auth mechanisms (password, passwordless, social login).
3
+
ThunderID is a lightweight user and identity management product. Go backend + React frontend in a monorepo. It provides authentication and authorization via OAuth2/OIDC, flexible orchestration flows, and individual auth mechanisms (password, passwordless, social login).
4
4
5
5
-[ARCHITECTURE.md](ARCHITECTURE.md)
6
6
- For build and running - [Makefile](Makefile) and [README.md](README.md)
Copy file name to clipboardExpand all lines: docs/AGENTS.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
---
2
2
title: AGENTS
3
-
description: AI agents should use this file when creating and reviewing documentation content for Thunder. It contains the standards, guidelines, and requirements that must be followed to ensure high-quality documentation.
3
+
description: AI agents should use this file when creating and reviewing documentation content for ThunderID. It contains the standards, guidelines, and requirements that must be followed to ensure high-quality documentation.
4
4
---
5
5
6
-
# Thunder Documentation Creation Instructions
6
+
# ThunderID Documentation Creation Instructions
7
7
8
-
Follow these instructions when creating new documentation content for Thunder. Adhere to all guidelines to ensure consistency, clarity, and quality.
8
+
Follow these instructions when creating new documentation content for ThunderID. Adhere to all guidelines to ensure consistency, clarity, and quality.
9
9
10
10
## Scope and Boundaries
11
11
12
12
13
13
### Audience
14
14
15
-
- Your primary audience is Thunder users, including system administrators, developers, and IT professionals.
16
-
- Assume the audience has a basic understanding of IT concepts but may be unfamiliar with Thunder specifics.
15
+
- Your primary audience is ThunderID users, including system administrators, developers, and IT professionals.
16
+
- Assume the audience has a basic understanding of IT concepts but may be unfamiliar with ThunderID specifics.
17
17
- Avoid jargon and explain concepts clearly.
18
18
19
19
### What You Must Do
@@ -26,7 +26,7 @@ Follow these instructions when creating new documentation content for Thunder. A
26
26
27
27
## Authoring Standards
28
28
29
-
You must follow these standards when creating documentation content for Thunder.
29
+
You must follow these standards when creating documentation content for ThunderID.
30
30
31
31
### Voice and Tone
32
32
@@ -46,11 +46,11 @@ You must follow these standards when creating documentation content for Thunder.
46
46
- Do not alternate between long and short forms unless formally introduced.
47
47
48
48
**Correct:**
49
-
-Thunder Console
49
+
-ThunderID Console
50
50
- Passkey Authentication
51
51
52
52
**Incorrect:**
53
-
-Thunder console
53
+
-ThunderID console
54
54
- Console
55
55
- Passkey auth
56
56
@@ -313,7 +313,7 @@ When Vale feedback is provided through CI checks:
313
313
314
314
## Vocabulary Guidelines
315
315
316
-
Strictly follow these vocabulary guidelines when writing Thunder documentation.
316
+
Strictly follow these vocabulary guidelines when writing ThunderID documentation.
Documentation for **Thunder** - a modern identity management suite. This documentation covers installation, configuration, development, and contribution guidelines for the Thunder platform.
3
+
Documentation for **ThunderID** - a modern identity management suite. This documentation covers installation, configuration, development, and contribution guidelines for the ThunderID platform.
0 commit comments