# Invite links (Accept Invitation Button) with SSO not working for stable v2.8.10

**URL:** <https://meta.discourse.org/t/invite-links-accept-invitation-button-with-sso-not-working-for-stable-v2-8-10/244945>\
**Category:** Bug\
**Tags:** sso, invites\
**Created:** [November 9, 2022, 12:48am UTC](https://meta.discourse.org/t/invite-links-accept-invitation-button-with-sso-not-working-for-stable-v2-8-10/244945 "2022-11-09T00:48:26Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [December 8, 2022, 6:44am UTC](https://meta.discourse.org/t/invite-links-accept-invitation-button-with-sso-not-working-for-stable-v2-8-10/244945/25 "2022-12-08T06:44:44Z")

</div>

Yes I see the issue here now, we are still showing the [Discourse Connect](https://meta.discourse.org/t/13045?silent=true) button even if the invitation has already been redeemed, and also for an existing user who has not redeemed the invite.

**Invite not yet redeemed for existing user with [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) enabled:**

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/3/5/4355d47021bae445282308eec344e3cf1302b5a6.png)

**Invite already redeemed for existing user with [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) enabled:**

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/0/1/1016ce65251a981d32e0a61c52848ec41d45d215.png)

I _think_ the correct thing is to hide the “Accept Invitation” button in the first case and the “Continue” button in the second case though I am not entirely sure, since going via the SSO login path accepts the invitation as well [discourse/app/controllers/session\_controller.rb at 13db6234940e50f66bc712a054003e362ae9dbcd · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/13db6234940e50f66bc712a054003e362ae9dbcd/app/controllers/session_controller.rb#L161-L163) . @sam do you have any thoughts on this? I am just a little reluctant to make more changes to this UI/system at the moment…

---

_[View the full topic](https://meta.discourse.org/t/invite-links-accept-invitation-button-with-sso-not-working-for-stable-v2-8-10/244945)._
