![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@harperdb/hdb-cf-auth-azuread
Advanced tools
This package is an Active Directory authentication validator for a HaperDB Custom Function.
This adds the ability to secure database access with an Azure Active Directory application to validate against AD Users and Roles.
$CUSTOM_FUNCTION_DIR/routes/index.js
)AAD_CLIENT_ID="the client id for the AAD app" AAD_AUTH_URL="the authority url for the AAD app" AAD_CLIENT_SECRET="the client secret for the AAD app"
// /routes/index.js
const aadAuth = require('harperdb-active-directory-auth')
module.exports = async (server, { hdbCore, logger }) => {
// CREATE A DATA RECORD
server.route({
url: '/:schema/:table',
preValidation: (request, response, next) => aadAuth.validate(request, response, next, hdbCore, logger),
method: 'POST',
handler: (request) => {
const { schema, table } = request.params;
const { records } = request.body;
request.body = {
operation: 'insert',
schema,
table,
records,
hdb_user: request.body.hdb_user,
}
return hdbCore.request(request)
}
})
})
curl -X POST http://127.0.0.1:9926/cool-app/dev_schema/dogs_table \
-H 'Content-Type: application/json' \
-d '{
"username":"dog@harperdb.io",
"password":"D0G5RUL3!",
"records":[{"name": "Bruno", "breed": "awesome"}]
}'
FAQs
Azure AD auth for HarperDB Custom Functions
We found that @harperdb/hdb-cf-auth-azuread demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.