nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.68k stars 550 forks source link

Oauth fail connexion Azure #4427

Open Mehdiaz60 opened 1 month ago

Mehdiaz60 commented 1 month ago
### Steps to reproduce 1. ADD OAUTH 2. Connexion 3. ### Expected behaviour Tell us what should happen Hello , i have this error when i want to connect with Azure Oauth v2 AADSTS50011: The redirect URI 'http://192.168.0.206/teampass/index.php?post_type=oauth2' specified in the request does not match the redirect URIs configured for the application '5f0eeb71-71df-4797-946d-21cf6b2b26a7'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this. ### Actual behaviour Tell us what happens instead ### Server configuration **Operating system**: Debian 12.7.0 **Web server:** Apache 2 **Database:** Mariadb **PHP version:** PHP 8.2 **Teampass version:** Teampass **Teampass configuration file:** **Updated from an older Teampass or fresh install:** PLEASE attach to this issue the file `/includes/config/tp.config.php`. ### Client configuration **Browser:** Edge **Operating system:** ### Logs #### Web server error log ``` Insert your webserver log here ``` #### Log from the web-browser developer console (CTRL + SHIFT + i) ``` Insert the log here and especially the answer of the query that failed. ```
nilsteampassnet commented 1 month ago

@Mehdiaz60 Have you defined the redirect URI inside Entra AD for this application?