Open kcbieng opened 1 month ago
@kcbieng Is user allowed to access the teampass application under entra ad?
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 :
createOauth2User()
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 iOShttps://aka.ms/o0ukef
experiencing the same error "User is not allowed to authenticate with Teampass application". no user created in database. watching this topic 👍
just upgraded to master and even admin user gets that error
using latest commit, still not working. after oauth login, getting the same message but this time the login box disappears
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.