Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ Developer resources and forums for discussing Ory and meeting other users

### Ory blog guest articles

> Are you building something with Ory?
> Are you interested in Auth and security topics in general?
> Do you want to share your knowledge and experience?
> Are you building something with Ory?
> Are you interested in Auth and security topics in general?
> Do you want to share your knowledge and experience?
> [Reach out](mailto:office@ory.sh) to get published in the Ory blog!

- [Deploying Ory Oathkeeper as an AWS Lambda Authorizer](https://www.ory.sh/deploying-ory-oathkeeper-aws-lambda/)
Expand Down Expand Up @@ -151,6 +151,7 @@ Code examples that show how to integrate Ory with a framework, software stack, o
- [Ory Kratos SvelteKit example](https://github.com/bessey/ory-kratos-sveltekit-demo)
- [Ory Kratos Admin Interface in React example](https://github.com/dfoxg/kratos-admin-ui)
- [Ory Kratos Admin Interface with analytics](https://github.com/dhia-gharsallaoui/kratos-admin-ui)
- [Ory Kratos SPA Self-service UI written in the Dioxus rust framework (WASM)](https://github.com/justins-engineering/kratos-selfservice-wasm)
Comment thread
vinckr marked this conversation as resolved.

### Ory Hydra

Expand All @@ -174,6 +175,7 @@ Community projects, configuration tools, or development helpers extending Ory se
- [Ory Kratos Symfony Authenticator](https://github.com/stethome/ory-auth-bundle)
- [Ory Kratos Loopback4 integration](https://github.com/giuseppegrieco/loopback4-kratos)
- [Ory Kratos read-only traits](https://github.com/lus/kratos-readonly-traits)
- [Ory Kratos Client Rust WASM](https://github.com/justins-engineering/kratos-client-rust)

### Ory Hydra

Expand Down
10 changes: 5 additions & 5 deletions dotnet-ory-network/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0

import type { PlaywrightTestConfig } from "@playwright/test"
import { devices } from "@playwright/test"
import type { PlaywrightTestConfig } from "@playwright/test";
import { devices } from "@playwright/test";

/**
* Read environment variables from file.
Expand Down Expand Up @@ -107,6 +107,6 @@ const config: PlaywrightTestConfig = {
// command: 'npm run start',
// port: 3000,
// },
}
};

export default config
export default config;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0

using Microsoft.AspNetCore.Mvc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0

using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0

using System.Security.Claims;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0

using Microsoft.AspNetCore.Authentication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0


Expand Down
2 changes: 1 addition & 1 deletion dotnet-ory-network/src/ExampleApp/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0

using Ory.Client.Api;
Expand Down
48 changes: 24 additions & 24 deletions dotnet-ory-network/tests/playwright/dotnet-ory-network.spec.ts
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0

import { test, expect, Page } from "@playwright/test"
import { randomEmail, randomString } from "./helpers"
import { test, expect, Page } from "@playwright/test";
import { randomEmail, randomString } from "./helpers";

const url = "http://localhost:5286/"
const url = "http://localhost:5286/";

const signup = async (page: Page) => {
const email = randomEmail()
const password = randomString()
await page.fill('[name="traits.email"]', email)
await page.fill('[name="password"]', password)
await page.click('[value="password"]')
return { email, password }
}
const email = randomEmail();
const password = randomString();
await page.fill('[name="traits.email"]', email);
await page.fill('[name="password"]', password);
await page.click('[value="password"]');
return { email, password };
};

const check_session = async (page: Page) => {
await page.goto(`${url}Home/IdentityInfo`)
expect(page.locator("text=You are authenticated")).toBeVisible()
}
await page.goto(`${url}Home/IdentityInfo`);
expect(page.locator("text=You are authenticated")).toBeVisible();
};

test.describe("dotnet-ory-network", () => {
test("sign up, check session and logout", async ({ page }) => {
await page.goto(url, { waitUntil: "networkidle" })
await page.locator("text=Sign up").click()
await expect(page).toHaveURL(/.*\/ui\/registration.*/)
const credentials = await signup(page)
await expect(page).toHaveURL(`${url}`)
await check_session(page)
await page.locator("text=Log out").click()
await expect(page).toHaveURL(`${url}`)
})
})
await page.goto(url, { waitUntil: "networkidle" });
await page.locator("text=Sign up").click();
await expect(page).toHaveURL(/.*\/ui\/registration.*/);
const credentials = await signup(page);
await expect(page).toHaveURL(`${url}`);
await check_session(page);
await page.locator("text=Log out").click();
await expect(page).toHaveURL(`${url}`);
});
});
6 changes: 3 additions & 3 deletions dotnet-ory-network/tests/playwright/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright © 2023 Ory Corp
// Copyright © 2025 Ory Corp
// SPDX-License-Identifier: Apache-2.0

export const randomString = () =>
Math.random().toString(36).substring(2, 15) +
Math.random().toString(36).substring(2, 15)
Math.random().toString(36).substring(2, 15);

export const randomEmail = () => randomString() + "@" + randomString() + ".dev"
export const randomEmail = () => randomString() + "@" + randomString() + ".dev";
Loading