A small and static Next.js frontend for Hyperion
Project description
CalypSSO
A small and static Next.js frontend for Hyperion
Next.js development
You can set Hyperion base url in a dotenv .env
yarn install
yarn dev
Pages
The base url of this project is /calypsso
.
You will find:
- http://localhost:3000/calypsso/register
- http://localhost:3000/calypsso/activate?activation_token=12345
- http://localhost:3000/calypsso/activate?activation_token=12345&external=true
- http://localhost:3000/calypsso/recover
- http://localhost:3000/calypsso/reset-password?reset_token=12345
- http://localhost:3000/calypsso/login?client_id=Titan&response_type=code&scope=API&redirect_uri=https://localhost:8000/static.html&code_challenge=3sMJwwv1xfZK6yay-HkpseTGMUrmwWx5B9zVAxGfrb0=&code_challenge_method=S256
Compilation
First you need to compile the Next.js project
yarn install
yarn build
The build pages will be located in the /out directory. The small Python package sources are located in /python.
You can install it locally in an other python project using
pip install "path/to/calypsso"
To use it, you need to mount CalypSSO at the subpath /calypsso
For exemple with FastAPI, you could do:
from fastapi import FastAPI
# Define your app
app = FastAPI(
title="MyFastAPIApp",
)
# ...
# Mount CalypSSO app at the subpath /calypsso
calypsso = get_calypsso_app()
app.mount("/calypsso", calypsso)
Make a release on Pypi
You need to edit CalypSSO version in python/calypsso/__about__.py.
Then make a release on GitHub and add a tag. The tag should match v*.*.*
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file calypsso-1.2.0.tar.gz
.
File metadata
- Download URL: calypsso-1.2.0.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa77ae708eb0e17cdab3e8fd9008b4cf756b06bd55015ee38cb52b26ec1adaa |
|
MD5 | 73ef97ede10d8147823c7316def4b6c5 |
|
BLAKE2b-256 | 21cb1e65f2edf99086f78ff562354df3f062b7f3ebefc0e79a28cd6d720d2303 |
Provenance
The following attestation bundles were made for calypsso-1.2.0.tar.gz
:
Publisher:
release.yml
on aeecleclair/CalypSSO
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
calypsso-1.2.0.tar.gz
- Subject digest:
daa77ae708eb0e17cdab3e8fd9008b4cf756b06bd55015ee38cb52b26ec1adaa
- Sigstore transparency entry: 149259832
- Sigstore integration time:
- Predicate type:
File details
Details for the file calypsso-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: calypsso-1.2.0-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 748cbc4948cd40fcb3b879c77f9f282ac90a7f2d2e865c6a70a2c0ef5eaf8d52 |
|
MD5 | 4b36778a5bf84da147cb425d0b742013 |
|
BLAKE2b-256 | 43fc9b84217b6534adc3e7255972e5b5d805e35f9014440a7f4ffdf13f8d1b98 |
Provenance
The following attestation bundles were made for calypsso-1.2.0-py3-none-any.whl
:
Publisher:
release.yml
on aeecleclair/CalypSSO
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
calypsso-1.2.0-py3-none-any.whl
- Subject digest:
748cbc4948cd40fcb3b879c77f9f282ac90a7f2d2e865c6a70a2c0ef5eaf8d52
- Sigstore transparency entry: 149259833
- Sigstore integration time:
- Predicate type: