Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IW OAuth2 Question
#2
Hi Ioan,

This was something that I considered while I was developing it. The general way to handle this is to save a second cookie in the browser and save the user data on your server (it could be even a local file but ideally in your database). This cookie has a much longer expiration date, let's say a few days. If the cookie exists when you receive the first request, you should use it to retrieve the user information on the Database and bypass the login altogether.

I'll see if I can put together some code to show how it is done.
Reply


Messages In This Thread
IW OAuth2 Question - by ioan - 05-01-2023, 08:46 PM
RE: IW OAuth2 Question - by Alexandre Machado - 05-04-2023, 03:18 AM
RE: IW OAuth2 Question - by Alexandre Machado - 05-09-2023, 09:36 PM
RE: IW OAuth2 Question - by joelcc - 05-10-2023, 03:01 PM
RE: IW OAuth2 Question - by ioan - 05-24-2023, 08:57 PM
RE: IW OAuth2 Question - by Alexandre Machado - 05-30-2023, 11:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)