Giter Site home page Giter Site logo

Comments (6)

jumbojett avatar jumbojett commented on August 17, 2024

@adi-ads I'm not entirely sure if this answers your question.

Whether the user is "logged in" or "not" is determined by your application. The OpenID Connect library simply provides a way to get the identity of the user through a provider. This normally happens at an initial login. Ideally your app shouldn't have a persistent connection to the OIDC server. (i.e. monitoring the identity server for changes and refreshing tokens.)

See the Wordpress plugin for a real world example: https://github.com/jumbojett/Wordpress-OpenID-Connect-Login

Does this answer your question?

from openid-connect-php.

adi-ads avatar adi-ads commented on August 17, 2024

Yep it does

Did a sample here as well -
https://github.com/adi-ads/connect-app-php

Using a auth server I am helping build -
https://github.com/christiansmith/anvil-connect

Do drop by and have a look at our auth server, seems to work well with your client.

Cheers

from openid-connect-php.

jumbojett avatar jumbojett commented on August 17, 2024

@adi-ads very neat! Thanks for pointing me towards those projects.

I like the concept of anvil. I'm wondering if it could be taken a step further and built into a firewall like Ubuntu UFW. Anyways, that's my food for a thought. :)

from openid-connect-php.

adi-ads avatar adi-ads commented on August 17, 2024

Good idea, will definitely explore that. cheers!

from openid-connect-php.

 avatar commented on August 17, 2024

@jumbojett Hello, I successfully implement log in and log out using your module. After log-in, I manage the session of the logged-in user, the question is what if user logged out auth server? Should I logged out him? Is it OK to monitor?

from openid-connect-php.

mgh9 avatar mgh9 commented on August 17, 2024

@jumbojett Hello, I successfully implement log in and log out using your module. After log-in, I manage the session of the logged-in user, the question is what if user logged out auth server? Should I logged out him? Is it OK to monitor?

Could you please share your source? thanks

from openid-connect-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.