Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Registration Page UX Revamp

未关闭
#203 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@Devayani1612 已经在做这个了。

开始于 2025年8月13日。

评估

这个 Issue 还没有评估数据。

描述

enhancement OSS unruly

This is in regards to the UX for index.html (experienced at the web page https://store.rerum.io). On this page a code or project manager registers to use the API through Auth0 and are given a Refresh Token and an Access Token. These tokens are their key to use the RERUM API through https://store.rerum.io/v1/api/

Registered users can use this page to confirm their registration or get new tokens. This is important because Access Tokens expire regularly and if they are not programmatically refreshed they will need to be manually refreshed at this page.

The desired workflow is as follows.

  1. Start by logging in or signing up. This happens when the user clicks a button and they are sent off to Auth0 and come back with a ?code= or an ?error=

  2. If the user receives a valid ?code=, the page will inform the user they are authorized to use the RERUM API.

Image
  1. A valid code can be used to get a new Refresh Token. This is the most important token and users should be informed NOT TO LOSE IT. Refresh Tokens do not expire but are invalided if the user gets a different Refresh Token. Access Tokens that were produced using the old Refresh Token will be invalidated.
Image
  1. Getting a new Refresh Token automatically triggers getting a fresh Access Token. The Access Token is what the user will use to access the RERUM API. It is important that they do not lose it, but they can always get another one by providing their refresh token. Getting a new Access Token invalidates the old Access Token. Access Tokens expire every 30 days, there is no way for users to change that. If a user has a Refresh Token all they have to do is provide it, they do not have to log in.
Image

Users should not have to scroll around to find their ?code and tokens. Once the users have their tokens they should be able to download them to their machine in a plain text file. No changes to functionality are required and everything on the page is functioning as expected. This is just for an improved User Experience when coming to this page.

This should be done first as the top priority. Ideally it would be completed in one sprint, but two is still good.

  • A better result to registration where the user knows what happened, what the ?code= is, and how to get their tokens.
  • Update Authorization Status Checker
  • Update Access Token Verifier
  • Update Access Token Refresher
  • Update Refresh Token Getter
主要语言
JavaScript
星标
3
派生
6
平均合并
4 天 9 小时
30 天内合并 PR
5

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CenterForDigitalHumanities/rerum_server_nodejs 的其他 Issue

查看 CenterForDigitalHumanities/rerum_server_nodejs 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。