-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookies and Identity Server #842
Comments
Hi friend. I haven’t forgotten you. I’m catching up on things and will take a look. Have you made any progress in the mean time? |
Hi Andrew, At this time no, but I currently have a work around. |
Hm, it looks like the open id connect option for the tenant are not being refreshed. When they change tenant identifier you'll want to clear the already generated options as described here: I don't recall off the top of my head if you need to use the That being said I find that redirecting based on tenant id might be better than identifier since in theory id should never change. What sort of workaround did you come up with in your situation? |
Hi Andrew, Thx for getting back to me. I will look into your suggestions. As a work around I created a friendly identifier column that is 4 to 8 characters long. The user can then look up their friendly identifier on a search screen. If their tenant is found, they are redirected to their portal with the "normal" identifier in the URL. If the tenant is not found, they are directed to a referral screen indicating their organization was not found. Portal admins can set their friendly identifier. |
Hi Andrew,
Having problems logging into identity server after a tenant identifier is updated by a user. I am hoping to get some guidance/assistance
When a new tenant is created an identifier is automatically created for them. I allow tenants to update their identifier. Once their identifier is updated the user can initiate a logout, which logs them out and redirects them to the start page with the updated identifier in the url.
e.g
user is logged in with this url
http://appurl/1B8E302B-B931-4CAE-B404-A42B7D1E8895/Dashboard/Settings/Identifier
user then updates their identifier to "ABC" and initiates a logout. The user is then redirected to this url
http://appurl/ABC
At this point the user then tries to log back in, but instead of logging into identity server with the new identifier
http://identityserver/abc
the user is redirected to identity server with the old url
http://identityserver/1B8E302B-B931-4CAE-B404-A42B7D1E8895
resulting in invalid redirect uri error in identity server since the urls dont match...."ABC" does not match "1B8E302B-B931-4CAE-B404-A42B7D1E8895"
I suspect it has to do with the identity server session created with the first login prior to updating the identifier?
My signout code in the application
Any help appreciated.
The text was updated successfully, but these errors were encountered: