# Plugin design suggestion: full page or modal?

**URL:** <https://meta.discourse.org/t/plugin-design-suggestion-full-page-or-modal/119669>\
**Category:** Development\
**Created:** [June 6, 2019, 2:28pm UTC](https://meta.discourse.org/t/plugin-design-suggestion-full-page-or-modal/119669 "2019-06-06T14:28:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![emanuele](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emanuele/32/142687_2.png) [@emanuele](https://meta.discourse.org/u/emanuele)\
**Post date:** [June 7, 2019, 10:35am UTC](https://meta.discourse.org/t/plugin-design-suggestion-full-page-or-modal/119669/3 "2019-06-07T10:35:07Z")

</div>

> [@sam](#):
>
> Can you elaborate a bit about the process after you click associate? Does it redirect to key base and then redirect back to us?

After you click associate, it just redirects to a Keybase url which then redirects to the Keybase app/website as needed, it doesn’t get back to Discourse.

This is the skeleton of the plugin so far (I’ve only committed the files related with the new-proof page for now, plus a couple more files): [GitHub - etamponi/discourse-keybase-proofs-plugin: Discourse Plugin for Keybase Proofs · GitHub](https://github.com/etamponi/discourse-keybase-proofs-plugin)

As you can see, this is the flow:

1. Keybase asks the user to go to `https://$DISCOURSE_SITE/keybase-proofs/new-proof?kb_username=bla&username=blabla&...`

2. Discourse checks if a user is logged in. If not, it redirects to the login page, then back to the new-proof page

3. Discourse shows the homepage with a modal on top which will show the association details and the associate/cancel buttons

I’ve still to code the rest of the flow, but I’d like to make sure that we agree on the design so far.

---

_[View the full topic](https://meta.discourse.org/t/plugin-design-suggestion-full-page-or-modal/119669)._
