Authentication
Authentication is always a tough topic to discuss, there are so many patterns out there and by supporting one, you are more than likely to fail at supporting others. With that said, we wanted to make hyper63⚡ flexible so that your team can use the security model that works best for you. We also wanted to give teams an option by default. The option is using JWT hmac security, which is based on a `SECRET`.
To use the default security process you will need to setup your hyper63.config.js⚡ file to use middleware and the @hyper63/app-express⚡ module as your app container.
For Example:
And create a jwt.js file
Because hyper63⚡ is modular and in this case using express, you can use any express framework middleware to manage your authentication process, you can add scopes and and more advanced security checks for each endpoint.
For example, let's say you only wanted certain clients to be able to create and delete datastores.
You would modify your JWT to perform special checks based on those endpoints.
Need specific help? You can always reach out to our support team for any additional assistance at checkout our help desk
