---
title: "Discussion on \"Implementing an OIDC Callback in PHP/Yii/HumHub (with Code Examples)\" | Hashnode"
description: "Discussion on \"Implementing an OIDC Callback in PHP/Yii/HumHub (with Code Examples)\". A practical, end-to-end guide to handling OIDC redirects, token exchange, identity mapping, and secure session creation inside a Yii/HumHub app"
url: "https://hashnode.com/posts/implementing-an-oidc-callback-in-phpyiihumhub-with-code-examples/693fca52b151c1913efb2e32"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Implementing an OIDC Callback in PHP/Yii/HumHub (with Code Examples)](https://devpath-traveler.nguyenviettung.id.vn/implementing-an-oidc-callback-in-phpyiihumhub-with-code-examples?utm_source=hashnode&utm_medium=feed)

A practical, end-to-end guide to handling OIDC redirects, token exchange, identity mapping, and secure session creation inside a Yii/HumHub app

Dec 15, 2025 · 6 min read · devpath-traveler.nguyenviettung.id.vn  
Read the article

-   [#authentication](https://hashnode.com/tag/authentication)
-   [#oidc](https://hashnode.com/tag/oidc)
-   [#oauth2](https://hashnode.com/tag/oauth2)
-   [#php](https://hashnode.com/tag/php)
-   [#yii2](https://hashnode.com/tag/yii2)
-   [#humhub](https://hashnode.com/tag/humhub)
-   [#identity-provider](https://hashnode.com/tag/identity-provider)
-   [#token-exchange](https://hashnode.com/tag/token-exchange)
-   [#session-management](https://hashnode.com/tag/session-management)
-   [#redis](https://hashnode.com/tag/redis)
-   [#web-security](https://hashnode.com/tag/web-security)
-   [#developer-guide](https://hashnode.com/tag/developer-guide)
-   [#codeexamples](https://hashnode.com/tag/codeexamples)

## Written by

[Nguyễn Việt Tùng](https://hashnode.com/@nvtung)

@nvtung · Ho Chi Minh City, Vietnam

  
[View profile](https://hashnode.com/@nvtung)

Senior Frontend System Designer

Senior-level Fullstack Web Developer with 10+ years experience, including 2 years of Team Lead position. Specializing in responsive design and full-stack web development across the Vue.js and .NET ecosystems. Skilled in Azure/AWS cloud infrastructure, focused on DevOps techniques such as CI/CD. Experienced in system design, especially with software architecture patterns such as microservices, BFF (backend-for-frontend). Hands-on with Agile practices in team leading, and AI-assisted coding.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
