Skip to main content
Answered

AnonymousUser

  • August 22, 2024
  • 4 replies
  • 84 views

Forum|alt.badge.img+3

Hai,

 

When a user has no access_token when using the api, my program generates an url and redirects to that url. At callback, the user is AnonymousUser. How does my program know what user I was before callback?

Or do I have to handle the callback from within a frame or so?

Thanks, Ernst

Best answer by Ernst van der Heijden

I used the state to send the userid, &state={userid} via auth2. At callback this is send back in the request. 

4 replies

Forum|alt.badge.img+3

No need for an answer for this question. I solved the problem. Thanks


Eca
Mironeer
Forum|alt.badge.img+2
  • Mironeer
  • 3513 replies
  • August 22, 2024

Hi @Ernst van der Heijden ,

Glad to hear you’ve resolved the issue! If you don’t mind sharing the steps you took to solve it, I’m sure others in the community would appreciate it. Your experience could be really helpful for anyone facing a similar challenge.

 

Thanks for contributing!


Forum|alt.badge.img+3

I used the state to send the userid, &state={userid} via auth2. At callback this is send back in the request. 


ElvaMiro
Mironeer
Forum|alt.badge.img+2
  • Mironeer
  • 921 replies
  • August 26, 2024

@Ernst van der Heijden  -- thank you for sharing!