Comments (9)
Helle @oleksandr-zh , what is your pia version and your pia-back version ?
Can you confirm ? ENABLE_AUTHENTICATION=true in your .env file ? When you have checked it, please make a CTRL + MAJ + R to reload you home page.
from pia-back.
Hello,
Indeed, you need to fill this "Server URL Configuration" form with 3 elements:
- Your Backend URL ;
- Your client ID ;
- And your client SECRET ;
This way, your Frontend application will link correctly to your Backend application and it will activate the authentication mode.
I have updated the section you are talking about in the README:
https://github.com/LINCnil/pia-back#configure-app
I agree it wasn't clear. Now you have a better example on how to get your Client ID and Client SECRET.
I hope it will help you complete your installation. Just let me know.
Regards,
from pia-back.
Thank kevin-atnos
What am I doing wrong ?
from pia-back.
Oh, sorry. I didn't start the server bin/rails s -b 172.17.15.13 -p 3000.
Now i have the following question.
How can I activate users?
from pia-back.
Hello,
Now you should have created an admin account, following this: https://github.com/LINCnil/pia-back#create-admin-account
With this account, you can login, and then you will be able to create new users in the "Users" page.
Once you have created a new user with your admin account, this user will receive an email with an activation code (be sure to configure SMFTP adequately: https://github.com/LINCnil/pia-back#smtp-configuration).
Then this user should access your Front URL and configure the Back to enable the authentication mode, as you did here:
Once he is connected to your back and sees the authentication block, he should click on "activate account" and continue with the process (define a password, ...).
Once done, he will be able to login and start working on PIAs he has been affected to.
Regards,
from pia-back.
Thanks for the answer.
When i try login, i see (authentication.errors.sign_in.404)
The user is created and permissions granted:
from pia-back.
When i use Forgotten link. end enter code, i see next
Then click ""Confirm" ( console):
When you try to login with a new password
from pia-back.
Hello @oleksandr-zh,
Very strange!
Would you like to have a meeting with us so that we can try to understand better what's going on and also solve your issue?
Can I get your email address so that we can continue by emails please?
Else, you can also join us at [email protected] and we can find a slot to check all of that.
Regards,
Kévin
from pia-back.
Hi @oleksandr-zh!
Thank you for joining us in a meeting, we are glad to have solved your issue :)
I will close this issue but if you need any more help you can create another issue on Github here.
For anyone coming here:
The issue was the missing ENABLE_AUTHENTICATION=true
key missing in the .env
file.
Regards,
from pia-back.
Related Issues (20)
- Impossible d'installer une dépendance HOT 2
- Email configuration HOT 4
- Impossible d'installer l'application PIA HOT 5
- Error whet run "yarn install" HOT 1
- Connecter le Backend et le frontend && activer l'authentification HOT 5
- problème lors du téléchargement de dépendances via yarn install et lors de la construction de la version de production via yarn prod
- User.create has no effect on the database, no error HOT 2
- How to enable SSL? HOT 5
- Connecter le frontend au backend en https HOT 4
- upgrade from 3.0.2 to 3.2.2 issues HOT 2
- Ruby 3.2 ? HOT 1
- LDAP configuration HOT 2
- Client id/secret settings for users HOT 1
- Cant delete activated user from web interface HOT 2
- Useraccounts, LDAP, Mailing HOT 6
- authentication
- Not able to connect pia frontend (client) to backend
- Rake aborted no rakefile found
- LDAP auth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pia-back.