5min

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`.

Default๐Ÿš€

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:

JS
|

And create a jwt.js file

JS
|

Custom ๐Ÿ› ๏ธ

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.

JS
|

Need specific help? You can always reach out to our support team for any additional assistance at checkout our help desk๏ปฟ

๏ปฟ

Updated 15 Mar 2022
Did this page help?
Yes
No