Skip to content
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

Add redirect uri options to workshop #863

Open
2 tasks
Velua opened this issue Sep 25, 2024 · 0 comments
Open
2 tasks

Add redirect uri options to workshop #863

Velua opened this issue Sep 25, 2024 · 0 comments

Comments

@Velua
Copy link
Contributor

Velua commented Sep 25, 2024

When handling valid redirect urls, we need to support either a full URL or simply a path on the app.

  • Update the accounts app to support parsing & checking if the query params are valid.
  • Update the workshop app to support storing this metadata.

Examples

Path only

&redirect=/invite-response -> http://invitingApp.psibase.127.0.0.1.sslip.io:8080/invite-response

Full domain

&redirect=https://api.monstereos.com/invite-response -> https://api.monstereos.com/invite-response

If path array is empty, all paths are wildcarded.
This behavior does not apply for full urls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant