From 7228c85e107f136b42dbc46d4c38ce8e4bce0baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Campitelli?= <1877191+vcampitelli@users.noreply.github.com> Date: Fri, 23 Feb 2024 10:53:54 -0300 Subject: [PATCH] Adding the "Device Limiting" guide to example apps and renaming their repos (#2911) --- .../content/docs/extend/examples/device-limiting.mdx | 8 ++++---- astro/src/content/json/exampleapps.json | 12 ++++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/astro/src/content/docs/extend/examples/device-limiting.mdx b/astro/src/content/docs/extend/examples/device-limiting.mdx index 2fd1bc6273..71114019c0 100644 --- a/astro/src/content/docs/extend/examples/device-limiting.mdx +++ b/astro/src/content/docs/extend/examples/device-limiting.mdx @@ -4,8 +4,8 @@ description: Learn how to limit the number of devices a user can log in to concu navcategory: developer section: extend subcategory: examples -codeRootSimple: https://raw.githubusercontent.com/FusionAuth/fusionauth-device-limit-guide-simple/main -codeRootFriendly: https://raw.githubusercontent.com/FusionAuth/fusionauth-device-limit-guide-friendly/main +codeRootSimple: https://raw.githubusercontent.com/FusionAuth/fusionauth-example-device-limit-simple/main +codeRootFriendly: https://raw.githubusercontent.com/FusionAuth/fusionauth-example-device-limit-friendly/main --- import Aside from 'src/components/Aside.astro'; import InlineField from 'src/components/InlineField.astro'; @@ -213,6 +213,6 @@ The web page posts the selected token Ids to the backend. You will need a route You can download, review, and run full applications for both the simple and user-friendly device-limiting implementations from the FusionAuth GitHub: - * [Simple implementation using a webhook](https://github.com/FusionAuth/fusionauth-device-limit-guide-simple) + * [Simple implementation using a webhook](https://github.com/FusionAuth/fusionauth-example-device-limit-simple) - * [User-friendly implementation](https://github.com/FusionAuth/fusionauth-device-limit-guide-friendly) + * [User-friendly implementation](https://github.com/FusionAuth/fusionauth-example-device-limit-friendly) diff --git a/astro/src/content/json/exampleapps.json b/astro/src/content/json/exampleapps.json index 47d0dbae2f..a76af9c937 100644 --- a/astro/src/content/json/exampleapps.json +++ b/astro/src/content/json/exampleapps.json @@ -556,5 +556,17 @@ "name": "PHP Laravel API quickstart", "description": "PHP Laravel API quickstart tutorial showing how to integrate FusionAuth with a PHP Laravel API", "language": "php" + }, + { + "url": "https://github.com/fusionauth/fusionauth-example-device-limit-simple", + "name": "Restrict Simultaneous Logins (Simple)", + "description": "Demonstrates how to limit the number of devices a user can simultaneously log in from, asking them to sign out from an existing session in order to continue", + "language": "javascript" + }, + { + "url": "https://github.com/fusionauth/fusionauth-example-device-limit-friendly", + "name": "Restrict Simultaneous Logins (User-friendly)", + "description": "Demonstrates how to limit the number of devices a user can simultaneously log in from, allowing them to sign out via interface from other sessions", + "language": "javascript" } ]