Joomla! - Registration not working - authentication

I'm running Joomla! 1.5.22 on localhost.
For the website's registration, after the user fills in all the information and click on 'send registration', the page simply 'refresh' only.
So i tried to log in with the new user's username and password but it only 'refresh' the page and the user isn't logged in.
May i know what is the problem?
Sorry as i'm a beginner in Joomla!

as you said that you are trying to create a user on your local host first check the followings by default settings in your joomla administrator pannel cause as i see in joomla 1.5.22 version if you will create a user then you should have to verify that user, in by default settings >> you will found the settings at :
login at admin pannel
click on site menu and choose > global configuration.
click on the system tab
then you will found the user settings: set No in the new user account activation and then register and try to login,,
IMP: if you will try this setting on real server then suggest you set Yes option on the new user account activation..

Related

Keycloak: Disable redirect to account page after password reset and show message

I am using Keycloak and I want to enable Forgot password flow. I have enabled Forgot password in login and configured SMTP to send email.
What I get out of the box from keycloak is the following
-> Click on Forgot password link -> Enter username or email -> User receives an Email with reset link -> Click on the link -> Reset password, then submit -> User is logged in then The user is redirected to account page.
What I want to acheive is the following
-> Click on Forgot password link -> Enter username or email -> User receives an Email with reset link -> Click on the link -> Reset password, then submit -> Display a message saying "Your password has been updated." and do not login the user. stay on that page.
The reason for this is, for my use-case, the user shouldn't access the account page on Keycloak.
In the authentication flow of reset credentials, I can only configure up to reset credentials.
Is there any way I can disable this action of logging in the user automatically after password reset, then redirecting to account page?
I have looked into several questions, but I cannot find an answer on how this can be achieved.
PS: I am using Keycloak docker image with a custom theme. If this can be configured using custom theme options, I have the chance to do it.
Thank you in advance.
Go to your keaycloak admin console, Authentication and desable "Update Profile"
Hopo it helps :)
We faced similar issue during keycloak usage and solved it via implementing custom Action Token and Action token handler (docs). Also check out original keycloak reset credentials action token sources:
ActionToken
ActionTokenHandler
Try to play around AbstractActionTokenHander.startFreshAuthenticationSession() there several attributes that define Keycloak behaviour during reset flow like:
authSession.setRedirectUri(token.getNote(OIDCLoginProtocol.REDIRECT_URI_PARAM));
authSession.setAuthNote(AuthenticationManager.END_AFTER_REQUIRED_ACTIONS, "true");
authSession.setAuthNote(AuthenticationManager.SET_REDIRECT_URI_AFTER_REQUIRED_ACTIONS, "true");
authSession.setAuthNote(AuthenticationManager.END_AFTER_REQUIRED_ACTIONS, "true");
If you're using your own client for the login page, the specified redirect, or the client default (Base URL) will direct where the user is sent after the password reset.
We did see that when using an admin-directed password reset, this behavior would occur (user sent to Keycloak account page). So, we simply adjusted the Base URL value for the account client so that it points to the home page of our primarily application.
Then, after the account client is used to reset the password, the default redirect is to our home page.

wso2 api manager change super admin's password issue

I'm using WSO2 API Manager version 1.10.0.
i can't update API on Publisher portal after super admin password changed.
when I click "Next:Manage>" button, page has unlimited loading.
and publisher log print below.
ERROR APIProviderHostObject Login failed.Please recheck the username and password and try again..
after super admin password changed in carbon consol, i also change password property in user-mgt.xml (./repository/conf/user-mgt.xml)
but symptoms continue to appear.
How should I solve it?
There are a lot of places where this password is used. Grep for 'admin' inside conf directory to find them all.

How to restrict access to Jenkins?

My Jenkins instance is currently open for every user, there is no authentication. I want to protect Jenkins against access by unauthorized users. I'm looking for a very simple/basic solution -- one user. If this "admin" user hasn't authenticated himself, he should not be able to do anything. If he has, he should get the full access the Jenkins instance (including all projects). How to configure this?
Follow these steps:
Go to Configure Global Security --> Security Realm : Jenkin's own user database and authorization Logged-in users can do anything. After saving, Jenkins should prompt you to create a new user. Please create the required user by filling in details like username and password.
Then, log in with that user and change the authorization to Matrix-based security. The matrix configuration should be as shown below i.e., it should have all privileges for the required user and none for anonymous users.
First you need to create an admin user or whatever you want.
To do that, go to your jenkins dashboard page and find "Credentials" option.
In credentials, you can create your user.
With your admin user created, just go back to your jenkins dashboard page and find "Manage Jenkins" option, in there, click on "Configure Global Security".
In Global Security Page, check the box "Enable Security", scroll down to "Access Control" and chose "Jenkins’ own user database" and select what users can do after login.

Odoo 9 website user self password change

My question is simple, where does a client change his/her password after signing up (registering)?
I've installed odoo 9 (on Ubuntu) and installed the website app.
The Sign in page doesn't show a forgot username / password option
If the user logs in, the app has a "username -> My Account -> Your Details -> change" button, where the user can see address, e-mail ...etc. but no change password button.
Am I overlooking an option somewhere? If that option doesn't exist, is it possible to add such a button in xml, that would not be overwritten with the nightly builds?
Solved! ...
In the url of your site, place ?debug after "web" and before "#"
(ex: server.tld:8123/web?debug#view_type=form...)
- select "settings" from the top menu
- click on "General Settings" on the left menu
- click on the checkbox next to "Enable password reset from Login page"
- click on apply
- remove ?debug from the url
Done!

APEX locked user is still able to login

I'm facing troubles with APEX again!
I create users for my application manually inside the application. I have a process lock_user, which is executed when a button is clicked and it should lock the user so he can not login to the application anymore. It seems to work, because in the 'Manage Users and Groups'-section the user is locked. Anyway, the user still CAN login to my application. I'm using the default login page.
Thats the code of my process:
BEGIN
UPDATE user
SET Status_id = '0'
WHERE user_id = :P45_user_ID;
APEX_UTIL.LOCK_ACCOUNT(p_user_name => upper(:P45_USERNAME));
commit;
END;
What could've went wrong?
Any solutions, tips or hints are appreciated!
The solution was to enable the "Account Expiration and Locking" setting (in Administration -> Manage Service -> Set Workspace Preferences (visible to workspace admins)).
There is also a "Require User Account Expiration and Locking" setting that is only availale to instance admins. (Manage Instance -> Security -> Workspace Login Control)
What kind of authentication are you using in your application? I would think that the locked accounts only work when using the built in Apex authentication.