Not able to configure OAuth2

Moderator: crythias

Post Reply
Geoffrey
Znuny newbie
Posts: 1
Joined: 20 Jun 2023, 16:37
Znuny Version: 7.0.6
Real Name: Geoffrey Vanlommel
Company: Lodewijckx NV

Not able to configure OAuth2

Post by Geoffrey »

Hi all,

I'm trying to configure Oauth2 to access a mailbox from o365. I configured everything as told on the blog post.

A new browser window opens up saying the page cant be reached. It has this url in the address line:

Code: Select all

https://tickets.cocovite.be/znuny/get-oauth2-token-by-authorization-code.pl?code=0.AQwAueR8njSLwUi1wIVnNWrWSDEsomXK2htJlPfY5IQ4k7GWAME.AgABAAIAAAD--DLA3VO7QrddgJg7WevrAgDs_wUA9P-ZN1FZcYoJZg2bQZ5Fm5Qu-DIuEjPKUluYt_zL5ypf7DVCG-giTWpXmwJz22WiR4cuddppUrllg4RV5Vgbhs3zRfpy2SAUhYstpIBvGdy6cSv8VW_xCf6RZ1dKcs2x3FiStIemu9MRW6Pfsp2Juf20qQEsQ7EZ7myzB0teNvq3F5at4DIcTCoFWUZG09jHJq7UUuFs8o28YqolgBoRIrs88d-3Np705V83lVRyvlT09qn-20rQXu707DaBeRpPfopd-9bQ3hVboakQDY6zBWCK1YybaU-qt2cSnGfjaerpVBPvNCOYwfjXRsC-WrDTllWSwXEhCILDioTxXFprxnlb9w4I3fDJw8G4W5QzPoZA2HwGYCI5s5rUW6D_fL5i9M5tFLMJaiyi5C4tGTf1QUsa0rts0HZXLq4xYV6cgR5QZP8eqD56pOX4yZniyqz2GpsSvIya0Q-klIs0jPalOMrrUCWpfUKf1BJOXzkkgNWEOEEmDFEVrtsqWSfW0yirDmXtAYJeF4VlSLD1YymPeSSvmPgLlaC4F2rUFfy8JqbGSVvPLfMKU_ifF5fikmSC5bQHplnjN-w3-cUoS-yKQp04c74vP2Y1rp9xgPtzmdylCCF1qrpbOH0gGFXJocIpm_AkIgd4Z0esfp8QMsKHE8CTuF1zpvHxy6dlBBdlFDWqEqk_uPiDso31JWStuCCNOh0023d8RLUGjSaEmX39okYvLF1UQTbGj3Cz-QLThj_f2fk3pS7gELV4TcCgBLxy_bGp_VaCEje5YHb5ydPc4yhKDF7lO5RMRNkf8JVclSA3rIUIGq4EYmkjr39tcUdibxdv50mYD6M3wkoaUXN2Auy9&state=TokenConfigID1&session_state=e290c332-418f-41d5-96f2-67c3fdb42191#
I added this url https://tickets.cocovite.be/znuny/get-o ... on-code.pl on o365.

Znuny 7.0.6 running on Ubuntu 22.04.

Does anybody know what i'm doing wrong?

Thanks in advance!
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Not able to configure OAuth2

Post by root »

Hi,

If all parameters are correct and also the system configuration FQDN, HttpType, etc., and the result is "Page can't be reached" you have to fix this. It's the browser in front of you that the page can't open.

- roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply