Is it possible to implement login functionality by reading from json file? NOTE: This is for an internal application so basic login functionality is enough.
{
"credentials" : {
"username" : "user1",
"password" : "pass1"
},
{
"username" : "user2",
"password" : "pass2"
},
{
"username" : "user3",
"password" : "pass3"
}
}
Can anyone help me through how to implement json file to auth service/login-component....any reference code would be much appreciated?
Thanks,