forked from netcreateorg/netcreate-2018
-
Notifications
You must be signed in to change notification settings - Fork 1
User Tokens
benloh edited this page Jun 1, 2025
·
1 revision
The new "Advanced" panel can now be used to generate tokens.
(Historically, user tokens were defined either by using the web console ncMakeTokens command or to use nc-multiplex's UI tool.)
By default, tokens are project-template-specific. The project has a secretKey string defined in the template that is used to create a unique hash for the user token.
-
secretKeycan be any string less than 12 characters. - Best practice is to define a
secretKeyfor every project that needs a unique token. - If you want to create tokens that can be used across multiple projects, e.g. tokens that can be used across all the projects in a classroom, just use the same
secretKeyfor each classroom's project. - If
secretKeyis not defined in the template, tokens can still be generated, but the tokens can then be used on any other project that does not havesecretKeydefined. (Under the hood, the hash uses just theclassIdand theprojIdas the secretKey, skipping the project secretKey).- If
secretKeyis not defined, the "Shareable" tokens checkbox will be automatically checked and disabled, and a warning message displayed.
- If
- HOME
- Releases
- Installation Guide
-
User Guide
- Advanced Panel
-
Using Templates
- Edit Template
- Template Filed Types Reference:
- Template Technical Documentation
-
Template Technical Overviewdeprecated
- Filters
- Import/Export
- Database Version Documentation
- Deployment
- Troubleshooting
-
Using Turbo360(deprecated)
- Documentation ToDo
- Decision Log
- Useful Reading
- Design Goals
- Code Review: Old UI Dataflow and followup UI Dataflow Design
- UNISYS Architecture
- User Sessions
- Developer Reference
- Migrating Data -- Deprecated