By: Eduard Kruger user 10 Jun 2022 at 2:29 a.m. CDT

3 Responses
Eduard Kruger gravatar
Good day, I have integrated GLUU using an external OAuth provider (Okta) and can log in to the GLUU server using this OKTA login. However, when I click the "Logout" button on the GLUU interface, I do get taken back to the login page, when I click on the external provider login again, I am automatically logged in to GLUU without having to enter a username and password on my external OAuth provider. I have waited for a few minutes after logging out as well but the end-result is the same. Is there anything I need to set up on the Passport provider to ensure the correct logout procedure is followed? Thank you,

By Michael Schwartz Account Admin 10 Jun 2022 at 1:24 p.m. CDT

Michael Schwartz gravatar
Kiran, can you make sure this is documented in Gluu 4.4

By Kiran Mali staff 13 Jun 2022 at 2:58 a.m. CDT

Kiran Mali gravatar
Hello Eduard, It is working as expected. You are automatically logged in to GLUU and not asking for okta login because your okta session is still alive. About correct logout procedure, you just need to perform oidc logout flow. we have [gluu logout docs available here](https://gluu.org/docs/gluu-server/4.4/admin-guide/openid-connect/#logout) and [here](https://gluu.org/docs/gluu-server/4.4/operation/logout/). First logout from gluu and seperate logout request to external provider(Note: logout request initiate from RP, not from Gluu UI logout button). Mike, We have good docs about logout but not specific related to passport case so I'll add small logout docs in passport inbound section. Best Regards, Kiran Mali

By Eduard Kruger user 13 Jun 2022 at 3:17 a.m. CDT

Eduard Kruger gravatar
Hi Kiran and Mike, Thank you for the feedback. I will have a look at the links above. Much appreciated. Kindest regards, Eduard Kruger.