-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
230 changed files
with
24,571 additions
and
3,146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,6 +119,7 @@ labels: | |
- [ ] Change [checklist in contributing guide for which tables to pick when migrating data from dev to prod instance](https://test.supertokens.com/docs/contribute/checklists/saas/tables-to-consider-for-data-migration-dev-to-prod). | ||
- [ ] Update license key used for cores to include nea feature. | ||
- [ ] Update table schema in mysql / postgresql section for self hosted in docs | ||
- [ ] Update API that returns the list of paid features in saas dashboard | ||
- [ ] [supertokens-node:X.Y](https://github.com/supertokens/supertokens-node/tree/X.Y) | ||
- [ ] [supertokens-golang:X.Y](https://github.com/supertokens/supertokens-golang/tree/X.Y) | ||
- [ ] [supertokens-website:X.Y](https://github.com/supertokens/supertokens-website/tree/X.Y) | ||
|
@@ -161,3 +162,93 @@ labels: | |
- [ ] supertokens-ios | ||
- [ ] supertokens-flutter | ||
- [ ] supertokens-dashboard | ||
### Contents of running try.supertokens.com script: | ||
```bash | ||
docker run -d \ | ||
--restart=always \ | ||
--name try-supertokens \ | ||
--label name=try-supertokens \ | ||
--label type=session-service \ | ||
--label mode=production \ | ||
--log-driver=awslogs --log-opt awslogs-region=ap-south-1 --log-opt awslogs-group=try-supertokens --log-opt awslogs-stream=try-supertokens \ | ||
-e DISABLE_TELEMETRY=true \ | ||
--publish 9999:3567 \ | ||
supertokens/supertokens-postgresql:6.0 | ||
sleep 7 | ||
curl --location --request POST 'https://try.supertokens.com/recipe/dashboard/user' \ | ||
--header 'rid: dashboard' \ | ||
--header 'api-key: <YOUR-API-KEY>' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{"email": "[email protected]","password": "abcd1234"}' | ||
curl --location --request POST 'https://try.supertokens.com/recipe/dashboard/user' \ | ||
--header 'rid: dashboard' \ | ||
--header 'api-key: <YOUR-API-KEY>' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{"email": "[email protected]","password": "abcd1234"}' | ||
curl --location --request PUT 'https://try.supertokens.com/recipe/multitenancy/tenant' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"tenantId": "tenant1", | ||
"emailPasswordEnabled": true, | ||
"thirdPartyEnabled": true, | ||
"passwordlessEnabled": false | ||
}' | ||
curl --location --request PUT 'https://try.supertokens.com/tenant1/recipe/multitenancy/config/thirdparty' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"config": { | ||
"thirdPartyId": "google-workspaces", | ||
"name": "Google Workspaces", | ||
"clients": [ | ||
{ | ||
"clientId": "1060725074195-kmeum4crr01uirfl2op9kd5acmi9jutn.apps.googleusercontent.com", | ||
"clientSecret": "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", | ||
"additionalConfig": { | ||
"hd": "*" | ||
} | ||
} | ||
] | ||
} | ||
}' | ||
curl --location --request PUT 'https://try.supertokens.com/recipe/multitenancy/tenant' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"tenantId": "tenant2", | ||
"emailPasswordEnabled": true, | ||
"thirdPartyEnabled": false, | ||
"passwordlessEnabled": false | ||
}' | ||
curl --location --request PUT 'https://try.supertokens.com/recipe/multitenancy/tenant' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"tenantId": "tenant3", | ||
"emailPasswordEnabled": false, | ||
"thirdPartyEnabled": true, | ||
"passwordlessEnabled": true | ||
}' | ||
curl --location --request PUT 'https://try.supertokens.com/tenant3/recipe/multitenancy/config/thirdparty' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"config": { | ||
"thirdPartyId": "github", | ||
"name": "GitHub", | ||
"clients": [ | ||
{ | ||
"clientId": "467101b197249757c71f", | ||
"clientSecret": "e97051221f4b6426e8fe8d51486396703012f5bd" | ||
} | ||
] | ||
} | ||
}' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ local.properties | |
# Mac | ||
.DS_Store | ||
|
||
addDevTag | ||
addReleaseTag | ||
*.iml | ||
ee/bin | ||
ee/bin | ||
addDevTag | ||
addReleaseTag |
Oops, something went wrong.