magda-io / magda-auth-internal Goto Github PK
View Code? Open in Web Editor NEWA MAGDA authentication plugin supports local password authentication
License: Apache License 2.0
A MAGDA authentication plugin supports local password authentication
License: Apache License 2.0
credentials
APIscredentials
are used by magda-auth-internal for local authentication.
At this moment, there are no APIs available for credentials-related operations.
There is a script provided offered by this repo to create new credentials
for users. But it would be more convenient to offer a set of APIs.
The set of APIs will be available via magda gateway via URL:
https://[your magda domain]/auth/login/plugin/internal/apis/credentials/*
When adding the magda-auth-internal plugin, you also need to add:
tags:
magda-auth-internal: true
into the values.yaml file for it to deploy it.
Hello.
I try to create a user following the instructions here: https://github.com/magda-io/magda/blob/main/docs/docs/how-to-create-local-users.md
However, after I port forward the Magda database to local and then try to create a new user like this:
yarn set-user-password -u [email protected] -p "test" -a
I receive the following error:
yarn run v1.22.19
$ ./utils/set-user-password.js -u [email protected] -p test -a
Failed to reset user password: error: password authentication failed for user "postgres"
error Command failed with exit code 1.
Can you please point me to the right direction?
What could possibly be the mistake?
Thank you in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.