Question: we actually DON'T want the user to be stored in the session - because we want the login prompt to be shown each time the user hits oauth/authorize in the client... is this an option?
TBH I don't know really, but I guess you could do something like this. For example, when the user hits oauth/authorize you can run some middleware that would delete the session for that user, and the login prompt would be shown. Maybe this is the way you could do it, but then again I'm not sure if this would work and why would you want this.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Question: we actually DON'T want the user to be stored in the session - because we want the login prompt to be shown each time the user hits oauth/authorize in the client... is this an option?
TBH I don't know really, but I guess you could do something like this. For example, when the user hits
oauth/authorize
you can run some middleware that would delete the session for that user, and the login prompt would be shown. Maybe this is the way you could do it, but then again I'm not sure if this would work and why would you want this.