-
-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth Successful Authentication Not Creating Users #4317
Comments
@kcbieng |
Yes, If not I would receive an error from Entra and not return to the redirect uri.
|
I'm going to pull a fresh copy with the updates you made to OAuth and see if I have success. |
@nilsteampassnet I pulled a fresh copy of the latest files and still receive an error when trying to use OAuth. The App Registration is completed and the user is assigned permissions to the application in Azure. Azure is showing that the Auth is successful. In #4318 you said that the user will be created automatically, but it does not seem to be happening for me. I'm not receiving any error messages in the console or syslog. Can you point me toward what method is prompting the user creation? |
@kcbieng some points :
I hope this helps to identify the cause |
No, that's what has seemed weird, it puts a user and password in the login box, but I get that error. When I log in as admin there isn't a user created for the test user.
I'll report back, I'm sure that will help me track it down!
Get Outlook for iOS<https://aka.ms/o0ukef>
|
experiencing the same error "User is not allowed to authenticate with Teampass application". |
just upgraded to master and even admin user gets that error |
Hi, Does anyone else have this issue? Running latest version, new DB, new App Registration in Azure. but still getting the error "User is not allowed to authenticate with Teampass application". I have ensured that my account is allowed to access the app. Does anyone have AzureAD auth working that can help share their config (obviously omitting any sensitive data) so that i am able to compare? Thanks |
Please see https://documentation.teampass.net/#/features/authentication?id=oauth2-with-microsoft-entra-azure You have mine configuration at the end. |
hi @nilsteampassnet. Thank you for replying. I have followed your instructions and config to the letter but still get the same issue. This is my configuration. Maybe you can see something wrong in it: |
Hi I have the same issue with the same configuration than @hitenmandalia I tired a lot of configurations and settings but always obtain the same error and the user are not created in the teampass database. |
Steps to reproduce
Expected behaviour
The documentation indicates that a user will be created for someone on the first authentication.
Actual behaviour
Following the process the user is not created and you receive an error message. If I create a user with that username and email address and follow the oath login flow it is possible to log in (kind of, see other issue #4318 ).
Server configuration
Using the latest DormancyGrace Teampass Docker Image
Operating system:
Alpine Linux v3.18
Web server:
Database:
MariaDB
PHP version:
8.2.7
Teampass version:
3.1.2
Teampass configuration file:
Updated from an older Teampass or fresh install:
Fresh Install
PLEASE attach to this issue the file
/includes/config/tp.config.php
.Client configuration
Browser:
Brave (Chromium)
Operating system:
Windows 11
Logs
Web server error log
Log from the web-browser developer console (CTRL + SHIFT + i)
The text was updated successfully, but these errors were encountered: